#CEC866#CEC866

#CEC866 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.7% C 0.121 H 105.6°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#CEC866
RGBrgb(206, 200, 102)
HSLhsl(57, 51%, 60%)
HSVhsv(57, 50%, 81%)
CMYKcmyk(0%, 2.9%, 50.5%, 19.2%)
CIE-LABlab(79.27, -11.06, 49.24)
CIE-LCHlch(79.27, 50.47, 102.66°)
OKLaboklab(81.74% -0.0325 0.1163)
OKLCHoklch(81.74% 0.121 105.6)
XYZxyz(48.5074, 55.3911, 20.7041)
Luminance0.5539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC866 #666CCE
analogous
#CE9466 #CEC866 #A0CE66
triadic
#CEC866 #66CEC8 #C866CE
tetradic
#CEC866 #66CE94 #666CCE #CE66A0
square
#CEC866 #66CE94 #666CCE #CE66A0
split-complementary
#CEC866 #66A0CE #9466CE
monochromatic
#8D872D #BBB43C #CEC866 #DDD994 #ECE9C3

Accessibility & contrast

On white

1.74
#CEC866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#CEC866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC866
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC866#FFFFFF#000000##000000
##CEC8661.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C25D
Deuteranopia (green-blind)
#D9C66B
Tritanopia (blue-blind)
#DBBDB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec866;
/* rgb */ color: rgb(206, 200, 102);
/* oklch */ color: oklch(81.7% 0.121 105.6);
Tailwind
colors: {
  custom: {
    50: '#dfd894',
    500: '#cec866',
    950: '#000000',
  },
}
SCSS
$custom: #cec866;
$custom-light: #dfd894;
$custom-dark: #000000;
JSON
{
  "hex": "#cec866",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 102
  },
  "hsl": {
    "h": 56.538,
    "s": 51.485,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81742,
    "c": 0.12077,
    "h": 105.6
  },
  "luminance": 0.5539
}

Semantic roles & 50–950 ramp

primary
#CEC866
secondary
#454A93
accent
#2FBF27
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC866

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

Preview Lab → · Contrast checker → · Palette generator →

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