Skip to main content

#FFBA08 Amber

#FFBA08 is Amber.

#FFBA08

Amber

What are the RGB, HSL, OKLCH and CMYK values of #FFBA08?

HEX
#FFBA08
RGB
rgb(255, 186, 8)
HSL
hsl(43, 100%, 52%)
OKLCH
oklch(83.1% 0.170 81)
CMYK
0, 27, 97, 0

#FFBA08 has a contrast ratio of 1.71:1 against white and 12.28:1 against black, so black is the better background for text in this color and dark text reads best on it.

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #FFBA08
#FFBA08
Same color
White
1.7Fail
Near-black
10.2AAA

AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only

Text that works on each color

  • Near-black on #FFBA08 · 10.2:1

Tints and shades of #FFBA08

Same hue and chroma in OKLCH, lighter to darker.

  1. #FFF4E0
  2. #FFBA08
  3. #EAAA00
  4. #C48E00
  5. #A07300
  6. #7D5900
  7. #5B4000
  8. #3C2900
  9. #201400

Colors that go with #FFBA08

Six harmony rules built from this color. Open any in the Studio.

Color blindness check

About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.

Typical
Deuteranopia

No green cones — the most common form. Amber, #FFBA08 and Green Yellow, #88FF5A become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --amber-1: #FFBA08; /* Amber */
}

Palettes, gradients and meshes with #FFBA08

Items using this color or one perceptually close to it, closest first.

Palettes (17)

Gradients (8)

Mesh gradients (10)