#CEC05A#CEC05A

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

Color values

HEX#CEC05A
RGBrgb(206, 192, 90)
HSLhsl(53, 54%, 58%)
HSVhsv(53, 56%, 81%)
CMYKcmyk(0%, 6.8%, 56.3%, 19.2%)
CIE-LABlab(77.02, -7.95, 52.28)
CIE-LCHlch(77.02, 52.88, 98.64°)
OKLaboklab(79.91% -0.0249 0.1217)
OKLCHoklch(79.91% 0.124 101.6)
XYZxyz(46.1503, 51.5610, 17.1922)
Luminance0.5156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC05A #5A68CE
analogous
#CE865A #CEC05A #A2CE5A
triadic
#CEC05A #5ACEC0 #C05ACE
tetradic
#CEC05A #5ACE86 #5A68CE #CE5AA2
square
#CEC05A #5ACE86 #5A68CE #CE5AA2
split-complementary
#CEC05A #5AA2CE #865ACE
monochromatic
#867A28 #B5A636 #CEC05A #DCD289 #EAE4B8

Accessibility & contrast

On white

1.86
#CEC05A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#CEC05A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC05A
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC05A#FFFFFF#000000##000000
##CEC05A1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB50
Deuteranopia (green-blind)
#D4C15F
Tritanopia (blue-blind)
#DCB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec05a;
/* rgb */ color: rgb(206, 192, 90);
/* oklch */ color: oklch(79.9% 0.124 101.6);
Tailwind
colors: {
  custom: {
    50: '#dfd28c',
    500: '#cec05a',
    950: '#000000',
  },
}
SCSS
$custom: #cec05a;
$custom-light: #dfd28c;
$custom-dark: #000000;
JSON
{
  "hex": "#cec05a",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 90
  },
  "hsl": {
    "h": 52.759,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79914,
    "c": 0.12418,
    "h": 101.6
  },
  "luminance": 0.51559
}

Semantic roles & 50–950 ramp

primary
#CEC05A
secondary
#3F498D
accent
#5CDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC05A

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

Preview Lab → · Contrast checker → · Palette generator →

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