#CEC577#CEC577

#CEC577 is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.4% C 0.100 H 102.6°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CEC577
RGBrgb(206, 197, 119)
HSLhsl(54, 47%, 64%)
HSVhsv(54, 42%, 81%)
CMYKcmyk(0%, 4.4%, 42.2%, 19.2%)
CIE-LABlab(78.69, -7.90, 40.17)
CIE-LCHlch(78.69, 40.94, 101.12°)
OKLaboklab(81.35% -0.0218 0.0974)
OKLCHoklch(81.35% 0.1 102.6)
XYZxyz(48.7506, 54.3876, 25.3790)
Luminance0.5439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC577 #7780CE
analogous
#CE9977 #CEC577 #ABCE77
triadic
#CEC577 #77CEC5 #C577CE
tetradic
#CEC577 #77CE99 #7780CE #CE77AB
square
#CEC577 #77CE99 #7780CE #CE77AB
split-complementary
#CEC577 #77ABCE #9977CE
monochromatic
#958B36 #BEB24A #CEC577 #DED8A4 #EEEBD1

Accessibility & contrast

On white

1.77
#CEC577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#CEC577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC577
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC577#FFFFFF#000000##000000
##CEC5771.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C071
Deuteranopia (green-blind)
#D5C57A
Tritanopia (blue-blind)
#DABBB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec577;
/* rgb */ color: rgb(206, 197, 119);
/* oklch */ color: oklch(81.4% 0.100 102.6);
Tailwind
colors: {
  custom: {
    50: '#ded69f',
    500: '#cec577',
    950: '#000000',
  },
}
SCSS
$custom: #cec577;
$custom-light: #ded69f;
$custom-dark: #000000;
JSON
{
  "hex": "#cec577",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 119
  },
  "hsl": {
    "h": 53.793,
    "s": 47.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.81352,
    "c": 0.09984,
    "h": 102.6
  },
  "luminance": 0.54386
}

Semantic roles & 50–950 ramp

primary
#CEC577
secondary
#4E569B
accent
#3ABA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CEC577

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

Preview Lab → · Contrast checker → · Palette generator →

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