#CEC596#CEC596

#CEC596 is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.9% C 0.063 H 98.5°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CEC596
RGBrgb(206, 197, 150)
HSLhsl(50, 36%, 70%)
HSVhsv(50, 27%, 81%)
CMYKcmyk(0%, 4.4%, 27.2%, 19.2%)
CIE-LABlab(79.19, -4.20, 24.77)
CIE-LCHlch(79.19, 25.12, 99.62°)
OKLaboklab(81.91% -0.0093 0.0625)
OKLCHoklch(81.91% 0.063 98.5)
XYZxyz(50.9251, 55.2574, 36.8313)
Luminance0.5526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC596 #969FCE
analogous
#CEA996 #CEC596 #BBCE96
triadic
#CEC596 #96CEC5 #C596CE
tetradic
#CEC596 #96CEA9 #969FCE #CE96BB
square
#CEC596 #96CEA9 #969FCE #CE96BB
split-complementary
#CEC596 #96BBCE #A996CE
monochromatic
#9F924A #BBAE6C #CEC596 #E1DCC0 #F5F3E9

Accessibility & contrast

On white

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

On black

12.05
#CEC596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC596
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC596#FFFFFF#000000##000000
##CEC5961.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC293
Deuteranopia (green-blind)
#D1C698
Tritanopia (blue-blind)
#D7BEB8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec596;
/* rgb */ color: rgb(206, 197, 150);
/* oklch */ color: oklch(81.9% 0.063 98.5);
Tailwind
colors: {
  custom: {
    50: '#ddd6b5',
    500: '#cec596',
    950: '#000000',
  },
}
SCSS
$custom: #cec596;
$custom-light: #ddd6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cec596",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 150
  },
  "hsl": {
    "h": 50.357,
    "s": 36.364,
    "l": 69.804
  },
  "oklch": {
    "l": 0.81914,
    "c": 0.06324,
    "h": 98.5
  },
  "luminance": 0.55256
}

Semantic roles & 50–950 ramp

primary
#CEC596
secondary
#656FA3
accent
#4AAF36
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CEC596

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

Preview Lab → · Contrast checker → · Palette generator →

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