#CEC84B#CEC84B

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

Color values

HEX#CEC84B
RGBrgb(206, 200, 75)
HSLhsl(57, 57%, 55%)
HSVhsv(57, 64%, 81%)
CMYKcmyk(0%, 2.9%, 63.6%, 19.2%)
CIE-LABlab(79.01, -13.06, 61.06)
CIE-LCHlch(79.01, 62.44, 102.08°)
OKLaboklab(81.45% -0.0411 0.1384)
OKLCHoklch(81.45% 0.144 106.6)
XYZxyz(47.3795, 54.9399, 14.7639)
Luminance0.5494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC84B #4B51CE
analogous
#CE874B #CEC84B #92CE4B
triadic
#CEC84B #4BCEC8 #C84BCE
tetradic
#CEC84B #4BCE87 #4B51CE #CE4B92
square
#CEC84B #4BCE87 #4B51CE #CE4B92
split-complementary
#CEC84B #4B92CE #874BCE
monochromatic
#7D7922 #ADA72F #CEC84B #DBD77B #E8E5AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #cec84b;
/* rgb */ color: rgb(206, 200, 75);
/* oklch */ color: oklch(81.5% 0.144 106.6);
Tailwind
colors: {
  custom: {
    50: '#e0d883',
    500: '#cec84b',
    950: '#000000',
  },
}
SCSS
$custom: #cec84b;
$custom-light: #e0d883;
$custom-dark: #000000;
JSON
{
  "hex": "#cec84b",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 75
  },
  "hsl": {
    "h": 57.252,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81452,
    "c": 0.14435,
    "h": 106.6
  },
  "luminance": 0.54938
}

Semantic roles & 50–950 ramp

primary
#CEC84B
secondary
#393C84
accent
#4EE047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC84B

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

Preview Lab → · Contrast checker → · Palette generator →

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