#CEC84C#CEC84C

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

Color values

HEX#CEC84C
RGBrgb(206, 200, 76)
HSLhsl(57, 57%, 55%)
HSVhsv(57, 63%, 81%)
CMYKcmyk(0%, 2.9%, 63.1%, 19.2%)
CIE-LABlab(79.01, -13.00, 60.65)
CIE-LCHlch(79.01, 62.03, 102.10°)
OKLaboklab(81.46% -0.0409 0.1377)
OKLCHoklch(81.46% 0.144 106.5)
XYZxyz(47.4140, 54.9537, 14.9456)
Luminance0.5495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC84C #4C52CE
analogous
#CE874C #CEC84C #93CE4C
triadic
#CEC84C #4CCEC8 #C84CCE
tetradic
#CEC84C #4CCE87 #4C52CE #CE4C93
square
#CEC84C #4CCE87 #4C52CE #CE4C93
split-complementary
#CEC84C #4C93CE #874CCE
monochromatic
#7D7922 #ADA82F #CEC84C #DBD77C #E8E6AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC84C#FFFFFF#000000##000000
##CEC84C1.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)
#D8C13C
Deuteranopia (green-blind)
#DBC653
Tritanopia (blue-blind)
#DCBBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec84c;
/* rgb */ color: rgb(206, 200, 76);
/* oklch */ color: oklch(81.5% 0.144 106.5);
Tailwind
colors: {
  custom: {
    50: '#e0d884',
    500: '#cec84c',
    950: '#000000',
  },
}
SCSS
$custom: #cec84c;
$custom-light: #e0d884;
$custom-dark: #000000;
JSON
{
  "hex": "#cec84c",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 76
  },
  "hsl": {
    "h": 57.231,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81461,
    "c": 0.1436,
    "h": 106.5
  },
  "luminance": 0.54952
}

Semantic roles & 50–950 ramp

primary
#CEC84C
secondary
#393D85
accent
#4FE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC84C

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

Preview Lab → · Contrast checker → · Palette generator →

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