#CEC84F#CEC84F

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

Color values

HEX#CEC84F
RGBrgb(206, 200, 79)
HSLhsl(57, 56%, 56%)
HSVhsv(57, 62%, 81%)
CMYKcmyk(0%, 2.9%, 61.7%, 19.2%)
CIE-LABlab(79.04, -12.81, 59.41)
CIE-LCHlch(79.04, 60.78, 102.17°)
OKLaboklab(81.49% -0.04 0.1355)
OKLCHoklch(81.49% 0.141 106.4)
XYZxyz(47.5208, 54.9964, 15.5078)
Luminance0.5500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC84F #4F55CE
analogous
#CE884F #CEC84F #94CE4F
triadic
#CEC84F #4FCEC8 #C84FCE
tetradic
#CEC84F #4FCE88 #4F55CE #CE4F94
square
#CEC84F #4FCE88 #4F55CE #CE4F94
split-complementary
#CEC84F #4F94CE #884FCE
monochromatic
#7F7B23 #AFA931 #CEC84F #DBD77F #E9E6AF

Accessibility & contrast

On white

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

On black

12.00
#CEC84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC84F
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC84F#FFFFFF#000000##000000
##CEC84F1.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C141
Deuteranopia (green-blind)
#DBC656
Tritanopia (blue-blind)
#DCBCAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec84f;
/* rgb */ color: rgb(206, 200, 79);
/* oklch */ color: oklch(81.5% 0.141 106.4);
Tailwind
colors: {
  custom: {
    50: '#e0d886',
    500: '#cec84f',
    950: '#000000',
  },
}
SCSS
$custom: #cec84f;
$custom-light: #e0d886;
$custom-dark: #000000;
JSON
{
  "hex": "#cec84f",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 57.165,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81489,
    "c": 0.14125,
    "h": 106.4
  },
  "luminance": 0.54995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEC84F

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

Preview Lab → · Contrast checker → · Palette generator →

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