#CEAA39#CEAA39

#CEAA39 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 75.1% C 0.133 H 90.7°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#CEAA39
RGBrgb(206, 170, 57)
HSLhsl(46, 60%, 52%)
HSVhsv(46, 72%, 81%)
CMYKcmyk(0%, 17.5%, 72.3%, 19.2%)
CIE-LABlab(70.99, 1.52, 60.13)
CIE-LCHlch(70.99, 60.15, 88.55°)
OKLaboklab(75.05% -0.0016 0.1334)
OKLCHoklch(75.05% 0.133 90.7)
XYZxyz(40.5691, 42.1691, 9.8727)
Luminance0.4217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEAA39 #395DCE
analogous
#CE6039 #CEAA39 #A8CE39
triadic
#CEAA39 #39CEAA #AA39CE
tetradic
#CEAA39 #39CE60 #395DCE #CE39A8
square
#CEAA39 #39CE60 #395DCE #CE39A8
split-complementary
#CEAA39 #39A8CE #6039CE
monochromatic
#715C1C #A28428 #CEAA39 #DABF6A #E6D49B

Accessibility & contrast

On white

2.23
#CEAA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#CEAA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEAA39
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEAA39#FFFFFF#000000##000000
##CEAA391.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA828
Deuteranopia (green-blind)
#C6B23F
Tritanopia (blue-blind)
#DF9C93
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ceaa39;
/* rgb */ color: rgb(206, 170, 57);
/* oklch */ color: oklch(75.1% 0.133 90.7);
Tailwind
colors: {
  custom: {
    50: '#e1c276',
    500: '#ceaa39',
    950: '#000000',
  },
}
SCSS
$custom: #ceaa39;
$custom-light: #e1c276;
$custom-dark: #000000;
JSON
{
  "hex": "#ceaa39",
  "rgb": {
    "r": 206,
    "g": 170,
    "b": 57
  },
  "hsl": {
    "h": 45.503,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75052,
    "c": 0.13338,
    "h": 90.7
  },
  "luminance": 0.42167
}

Semantic roles & 50–950 ramp

primary
#CEAA39
secondary
#91A0D2
accent
#6BE344
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CEAA39

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CEAA39 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva