#CEC84A#CEC84A

#CEC84A is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.4% C 0.145 H 106.6°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#CEC84A
RGBrgb(206, 200, 74)
HSLhsl(57, 57%, 55%)
HSVhsv(57, 64%, 81%)
CMYKcmyk(0%, 2.9%, 64.1%, 19.2%)
CIE-LABlab(79.00, -13.12, 61.46)
CIE-LCHlch(79.00, 62.84, 102.05°)
OKLaboklab(81.44% -0.0414 0.1391)
OKLCHoklch(81.44% 0.145 106.6)
XYZxyz(47.3456, 54.9263, 14.5851)
Luminance0.5493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC84A #4A50CE
analogous
#CE864A #CEC84A #92CE4A
triadic
#CEC84A #4ACEC8 #C84ACE
tetradic
#CEC84A #4ACE86 #4A50CE #CE4A92
square
#CEC84A #4ACE86 #4A50CE #CE4A92
split-complementary
#CEC84A #4A92CE #864ACE
monochromatic
#7C7822 #ACA62F #CEC84A #DBD77A #E8E5AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC84A#FFFFFF#000000##000000
##CEC84A1.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)
#D8C13A
Deuteranopia (green-blind)
#DBC652
Tritanopia (blue-blind)
#DCBBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec84a;
/* rgb */ color: rgb(206, 200, 74);
/* oklch */ color: oklch(81.4% 0.145 106.6);
Tailwind
colors: {
  custom: {
    50: '#e0d883',
    500: '#cec84a',
    950: '#000000',
  },
}
SCSS
$custom: #cec84a;
$custom-light: #e0d883;
$custom-dark: #000000;
JSON
{
  "hex": "#cec84a",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 74
  },
  "hsl": {
    "h": 57.273,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81444,
    "c": 0.14511,
    "h": 106.6
  },
  "luminance": 0.54925
}

Semantic roles & 50–950 ramp

primary
#CEC84A
secondary
#383C84
accent
#4EE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC84A

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

Preview Lab → · Contrast checker → · Palette generator →

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