#CEA937#CEA937

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

Color values

HEX#CEA937
RGBrgb(206, 169, 55)
HSLhsl(45, 61%, 51%)
HSVhsv(45, 73%, 81%)
CMYKcmyk(0%, 18%, 73.3%, 19.2%)
CIE-LABlab(70.72, 1.96, 60.64)
CIE-LCHlch(70.72, 60.67, 88.15°)
OKLaboklab(74.83% -0.0006 0.1341)
OKLCHoklch(74.83% 0.134 90.2)
XYZxyz(40.3334, 41.7761, 9.5529)
Luminance0.4177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA937 #375CCE
analogous
#CE5D37 #CEA937 #A7CE37
triadic
#CEA937 #37CEA9 #A937CE
tetradic
#CEA937 #37CE5D #375CCE #CE37A7
square
#CEA937 #37CE5D #375CCE #CE37A7
split-complementary
#CEA937 #37A7CE #5D37CE
monochromatic
#6F5B1B #A08327 #CEA937 #DABE68 #E6D399

Accessibility & contrast

On white

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

On black

9.35
#CEA937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA937
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA937#FFFFFF#000000##000000
##CEA9371.002.249.359.35
#FFFFFF2.241.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA725
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#DF9B92
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cea937;
/* rgb */ color: rgb(206, 169, 55);
/* oklch */ color: oklch(74.8% 0.134 90.2);
Tailwind
colors: {
  custom: {
    50: '#e1c275',
    500: '#cea937',
    950: '#000000',
  },
}
SCSS
$custom: #cea937;
$custom-light: #e1c275;
$custom-dark: #000000;
JSON
{
  "hex": "#cea937",
  "rgb": {
    "r": 206,
    "g": 169,
    "b": 55
  },
  "hsl": {
    "h": 45.298,
    "s": 60.643,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74834,
    "c": 0.13408,
    "h": 90.2
  },
  "luminance": 0.41774
}

Semantic roles & 50–950 ramp

primary
#CEA937
secondary
#8F9FD2
accent
#6BE444
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CEA937

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

Preview Lab → · Contrast checker → · Palette generator →

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