#CEC76E#CEC76E

#CEC76E is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.112 H 104.6°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CEC76E
RGBrgb(206, 199, 110)
HSLhsl(56, 49%, 62%)
HSVhsv(56, 47%, 81%)
CMYKcmyk(0%, 3.4%, 46.6%, 19.2%)
CIE-LABlab(79.10, -9.82, 45.16)
CIE-LCHlch(79.10, 46.22, 102.27°)
OKLaboklab(81.64% -0.0282 0.108)
OKLCHoklch(81.64% 0.112 104.6)
XYZxyz(48.6926, 55.0958, 22.8184)
Luminance0.5509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC76E #6E75CE
analogous
#CE976E #CEC76E #A5CE6E
triadic
#CEC76E #6ECEC7 #C76ECE
tetradic
#CEC76E #6ECE97 #6E75CE #CE6EA5
square
#CEC76E #6ECE97 #6E75CE #CE6EA5
split-complementary
#CEC76E #6EA5CE #976ECE
monochromatic
#918A31 #BEB540 #CEC76E #DDD99C #EDEAC9

Accessibility & contrast

On white

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

On black

12.02
#CEC76E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC76E
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC76E#FFFFFF#000000##000000
##CEC76E1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C166
Deuteranopia (green-blind)
#D7C672
Tritanopia (blue-blind)
#DABDB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec76e;
/* rgb */ color: rgb(206, 199, 110);
/* oklch */ color: oklch(81.6% 0.112 104.6);
Tailwind
colors: {
  custom: {
    50: '#dfd799',
    500: '#cec76e',
    950: '#000000',
  },
}
SCSS
$custom: #cec76e;
$custom-light: #dfd799;
$custom-dark: #000000;
JSON
{
  "hex": "#cec76e",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 110
  },
  "hsl": {
    "h": 55.625,
    "s": 49.485,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81638,
    "c": 0.11161,
    "h": 104.6
  },
  "luminance": 0.55094
}

Semantic roles & 50–950 ramp

primary
#CEC76E
secondary
#494F97
accent
#33BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CEC76E

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

Preview Lab → · Contrast checker → · Palette generator →

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