#CEC05B#CEC05B

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

Color values

HEX#CEC05B
RGBrgb(206, 192, 91)
HSLhsl(53, 54%, 58%)
HSVhsv(53, 56%, 81%)
CMYKcmyk(0%, 6.8%, 55.8%, 19.2%)
CIE-LABlab(77.03, -7.87, 51.82)
CIE-LCHlch(77.03, 52.42, 98.64°)
OKLaboklab(79.93% -0.0246 0.1208)
OKLCHoklch(79.93% 0.123 101.5)
XYZxyz(46.1931, 51.5781, 17.4178)
Luminance0.5158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC05B #5B69CE
analogous
#CE865B #CEC05B #A2CE5B
triadic
#CEC05B #5BCEC0 #C05BCE
tetradic
#CEC05B #5BCE86 #5B69CE #CE5BA2
square
#CEC05B #5BCE86 #5B69CE #CE5BA2
split-complementary
#CEC05B #5BA2CE #865BCE
monochromatic
#867B28 #B6A636 #CEC05B #DCD28A #EAE4B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC05B#FFFFFF#000000##000000
##CEC05B1.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)
#D0BB51
Deuteranopia (green-blind)
#D4C160
Tritanopia (blue-blind)
#DCB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec05b;
/* rgb */ color: rgb(206, 192, 91);
/* oklch */ color: oklch(79.9% 0.123 101.5);
Tailwind
colors: {
  custom: {
    50: '#dfd28c',
    500: '#cec05b',
    950: '#000000',
  },
}
SCSS
$custom: #cec05b;
$custom-light: #dfd28c;
$custom-dark: #000000;
JSON
{
  "hex": "#cec05b",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 91
  },
  "hsl": {
    "h": 52.696,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79926,
    "c": 0.12326,
    "h": 101.5
  },
  "luminance": 0.51576
}

Semantic roles & 50–950 ramp

primary
#CEC05B
secondary
#40498D
accent
#5CDD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC05B

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

Preview Lab → · Contrast checker → · Palette generator →

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