#CEC77F#CEC77F

#CEC77F is a light, moderate yellow. Relative luminance 0.555; OKLCH L 81.9% C 0.093 H 103.5°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#CEC77F
RGBrgb(206, 199, 127)
HSLhsl(55, 45%, 65%)
HSVhsv(55, 38%, 81%)
CMYKcmyk(0%, 3.4%, 38.3%, 19.2%)
CIE-LABlab(79.33, -8.06, 36.92)
CIE-LCHlch(79.33, 37.79, 102.32°)
OKLaboklab(81.9% -0.0216 0.0904)
OKLCHoklch(81.9% 0.093 103.5)
XYZxyz(49.7086, 55.5022, 28.1690)
Luminance0.5550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC77F #7F86CE
analogous
#CEA07F #CEC77F #ADCE7F
triadic
#CEC77F #7FCEC7 #C77FCE
tetradic
#CEC77F #7FCEA0 #7F86CE #CE7FAD
square
#CEC77F #7FCEA0 #7F86CE #CE7FAD
split-complementary
#CEC77F #7FADCE #A07FCE
monochromatic
#98903A #BDB453 #CEC77F #DFDAAB #F0EED8

Accessibility & contrast

On white

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

On black

12.10
#CEC77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC77F
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC77F#FFFFFF#000000##000000
##CEC77F1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C27A
Deuteranopia (green-blind)
#D6C682
Tritanopia (blue-blind)
#D9BEB5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec77f;
/* rgb */ color: rgb(206, 199, 127);
/* oklch */ color: oklch(81.9% 0.093 103.5);
Tailwind
colors: {
  custom: {
    50: '#ded7a5',
    500: '#cec77f',
    950: '#000000',
  },
}
SCSS
$custom: #cec77f;
$custom-light: #ded7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cec77f",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 127
  },
  "hsl": {
    "h": 54.684,
    "s": 44.633,
    "l": 65.294
  },
  "oklch": {
    "l": 0.81899,
    "c": 0.09299,
    "h": 103.5
  },
  "luminance": 0.55501
}

Semantic roles & 50–950 ramp

primary
#CEC77F
secondary
#535A9E
accent
#3AB82E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CEC77F

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

Preview Lab → · Contrast checker → · Palette generator →

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