#CEC05D#CEC05D

#CEC05D is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.9% C 0.121 H 101.4°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#CEC05D
RGBrgb(206, 192, 93)
HSLhsl(53, 54%, 59%)
HSVhsv(53, 55%, 81%)
CMYKcmyk(0%, 6.8%, 54.9%, 19.2%)
CIE-LABlab(77.05, -7.71, 50.91)
CIE-LCHlch(77.05, 51.49, 98.61°)
OKLaboklab(79.95% -0.0239 0.119)
OKLCHoklch(79.95% 0.121 101.4)
XYZxyz(46.2806, 51.6131, 17.8783)
Luminance0.5161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC05D #5D6BCE
analogous
#CE875D #CEC05D #A3CE5D
triadic
#CEC05D #5DCEC0 #C05DCE
tetradic
#CEC05D #5DCE87 #5D6BCE #CE5DA3
square
#CEC05D #5DCE87 #5D6BCE #CE5DA3
split-complementary
#CEC05D #5DA3CE #875DCE
monochromatic
#887C29 #B7A737 #CEC05D #DCD28C #EAE5BB

Accessibility & contrast

On white

1.85
#CEC05D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#CEC05D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC05D
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC05D#FFFFFF#000000##000000
##CEC05D1.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB53
Deuteranopia (green-blind)
#D4C162
Tritanopia (blue-blind)
#DCB4AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec05d;
/* rgb */ color: rgb(206, 192, 93);
/* oklch */ color: oklch(79.9% 0.121 101.4);
Tailwind
colors: {
  custom: {
    50: '#dfd28e',
    500: '#cec05d',
    950: '#000000',
  },
}
SCSS
$custom: #cec05d;
$custom-light: #dfd28e;
$custom-dark: #000000;
JSON
{
  "hex": "#cec05d",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 93
  },
  "hsl": {
    "h": 52.566,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.79949,
    "c": 0.12142,
    "h": 101.4
  },
  "luminance": 0.51611
}

Semantic roles & 50–950 ramp

primary
#CEC05D
secondary
#414A8E
accent
#5DDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CEC05D

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

Preview Lab → · Contrast checker → · Palette generator →

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