#CEA939#CEA939

#CEA939 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.8% C 0.133 H 90.0°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#CEA939
RGBrgb(206, 169, 57)
HSLhsl(45, 60%, 52%)
HSVhsv(45, 72%, 81%)
CMYKcmyk(0%, 18%, 72.3%, 19.2%)
CIE-LABlab(70.73, 2.05, 59.87)
CIE-LCHlch(70.73, 59.91, 88.04°)
OKLaboklab(74.85% -0.0001 0.1328)
OKLCHoklch(74.85% 0.133 90)
XYZxyz(40.3824, 41.7957, 9.8105)
Luminance0.4179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA939 #395ECE
analogous
#CE5F39 #CEA939 #A8CE39
triadic
#CEA939 #39CEA9 #A939CE
tetradic
#CEA939 #39CE5F #395ECE #CE39A8
square
#CEA939 #39CE5F #395ECE #CE39A8
split-complementary
#CEA939 #39A8CE #5F39CE
monochromatic
#715C1C #A28428 #CEA939 #DABE6A #E6D49B

Accessibility & contrast

On white

2.24
#CEA939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#CEA939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA939
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA939#FFFFFF#000000##000000
##CEA9391.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA728
Deuteranopia (green-blind)
#C5B13F
Tritanopia (blue-blind)
#DF9B93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cea939;
/* rgb */ color: rgb(206, 169, 57);
/* oklch */ color: oklch(74.8% 0.133 90.0);
Tailwind
colors: {
  custom: {
    50: '#e1c276',
    500: '#cea939',
    950: '#000000',
  },
}
SCSS
$custom: #cea939;
$custom-light: #e1c276;
$custom-dark: #000000;
JSON
{
  "hex": "#cea939",
  "rgb": {
    "r": 206,
    "g": 169,
    "b": 57
  },
  "hsl": {
    "h": 45.101,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74849,
    "c": 0.13283,
    "h": 90
  },
  "luminance": 0.41793
}

Semantic roles & 50–950 ramp

primary
#CEA939
secondary
#91A1D2
accent
#6CE344
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CEA939

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

Preview Lab → · Contrast checker → · Palette generator →

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