#CEA938#CEA938

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

Color values

HEX#CEA938
RGBrgb(206, 169, 56)
HSLhsl(45, 60%, 51%)
HSVhsv(45, 73%, 81%)
CMYKcmyk(0%, 18%, 72.8%, 19.2%)
CIE-LABlab(70.72, 2.00, 60.26)
CIE-LCHlch(70.72, 60.29, 88.10°)
OKLaboklab(74.84% -0.0003 0.1335)
OKLCHoklch(74.84% 0.133 90.1)
XYZxyz(40.3577, 41.7858, 9.6804)
Luminance0.4178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA938 #385DCE
analogous
#CE5E38 #CEA938 #A8CE38
triadic
#CEA938 #38CEA9 #A938CE
tetradic
#CEA938 #38CE5E #385DCE #CE38A8
square
#CEA938 #38CE5E #385DCE #CE38A8
split-complementary
#CEA938 #38A8CE #5E38CE
monochromatic
#705B1C #A18328 #CEA938 #DABE69 #E6D39A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEA938#FFFFFF#000000##000000
##CEA9381.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)
#BCA727
Deuteranopia (green-blind)
#C5B13E
Tritanopia (blue-blind)
#DF9B92
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cea938;
/* rgb */ color: rgb(206, 169, 56);
/* oklch */ color: oklch(74.8% 0.133 90.1);
Tailwind
colors: {
  custom: {
    50: '#e1c276',
    500: '#cea938',
    950: '#000000',
  },
}
SCSS
$custom: #cea938;
$custom-light: #e1c276;
$custom-dark: #000000;
JSON
{
  "hex": "#cea938",
  "rgb": {
    "r": 206,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 45.2,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74842,
    "c": 0.13346,
    "h": 90.1
  },
  "luminance": 0.41783
}

Semantic roles & 50–950 ramp

primary
#CEA938
secondary
#90A0D2
accent
#6CE444
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CEA938

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

Preview Lab → · Contrast checker → · Palette generator →

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