#CEC05C#CEC05C

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

Color values

HEX#CEC05C
RGBrgb(206, 192, 92)
HSLhsl(53, 54%, 58%)
HSVhsv(53, 55%, 81%)
CMYKcmyk(0%, 6.8%, 55.3%, 19.2%)
CIE-LABlab(77.04, -7.79, 51.37)
CIE-LCHlch(77.04, 51.96, 98.63°)
OKLaboklab(79.94% -0.0242 0.1199)
OKLCHoklch(79.94% 0.122 101.4)
XYZxyz(46.2366, 51.5955, 17.6465)
Luminance0.5159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC05C #5C6ACE
analogous
#CE875C #CEC05C #A3CE5C
triadic
#CEC05C #5CCEC0 #C05CCE
tetradic
#CEC05C #5CCE87 #5C6ACE #CE5CA3
square
#CEC05C #5CCE87 #5C6ACE #CE5CA3
split-complementary
#CEC05C #5CA3CE #875CCE
monochromatic
#877B29 #B6A637 #CEC05C #DCD28B #EAE4BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC05C#FFFFFF#000000##000000
##CEC05C1.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cec05c;
/* rgb */ color: rgb(206, 192, 92);
/* oklch */ color: oklch(79.9% 0.122 101.4);
Tailwind
colors: {
  custom: {
    50: '#dfd28d',
    500: '#cec05c',
    950: '#000000',
  },
}
SCSS
$custom: #cec05c;
$custom-light: #dfd28d;
$custom-dark: #000000;
JSON
{
  "hex": "#cec05c",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 92
  },
  "hsl": {
    "h": 52.632,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79938,
    "c": 0.12234,
    "h": 101.4
  },
  "luminance": 0.51594
}

Semantic roles & 50–950 ramp

primary
#CEC05C
secondary
#404A8E
accent
#5DDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC05C

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

Preview Lab → · Contrast checker → · Palette generator →

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