#CEC84D#CEC84D

#CEC84D is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.5% C 0.143 H 106.5°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#CEC84D
RGBrgb(206, 200, 77)
HSLhsl(57, 57%, 55%)
HSVhsv(57, 63%, 81%)
CMYKcmyk(0%, 2.9%, 62.6%, 19.2%)
CIE-LABlab(79.02, -12.94, 60.24)
CIE-LCHlch(79.02, 61.61, 102.12°)
OKLaboklab(81.47% -0.0406 0.1369)
OKLCHoklch(81.47% 0.143 106.5)
XYZxyz(47.4491, 54.9677, 15.1301)
Luminance0.5497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC84D #4D53CE
analogous
#CE874D #CEC84D #94CE4D
triadic
#CEC84D #4DCEC8 #C84DCE
tetradic
#CEC84D #4DCE87 #4D53CE #CE4D94
square
#CEC84D #4DCE87 #4D53CE #CE4D94
split-complementary
#CEC84D #4D94CE #874DCE
monochromatic
#7E7A23 #AEA830 #CEC84D #DBD77D #E8E6AD

Accessibility & contrast

On white

1.75
#CEC84D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#CEC84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC84D
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC84D#FFFFFF#000000##000000
##CEC84D1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13E
Deuteranopia (green-blind)
#DBC654
Tritanopia (blue-blind)
#DCBCAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec84d;
/* rgb */ color: rgb(206, 200, 77);
/* oklch */ color: oklch(81.5% 0.143 106.5);
Tailwind
colors: {
  custom: {
    50: '#e0d884',
    500: '#cec84d',
    950: '#000000',
  },
}
SCSS
$custom: #cec84d;
$custom-light: #e0d884;
$custom-dark: #000000;
JSON
{
  "hex": "#cec84d",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 77
  },
  "hsl": {
    "h": 57.209,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8147,
    "c": 0.14282,
    "h": 106.5
  },
  "luminance": 0.54966
}

Semantic roles & 50–950 ramp

primary
#CEC84D
secondary
#3A3D86
accent
#4FE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC84D

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

Preview Lab → · Contrast checker → · Palette generator →

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