#CFC596#CFC596

#CFC596 is a light, moderate yellow. Relative luminance 0.554; OKLCH L 82.0% C 0.063 H 97.5°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#CFC596
RGBrgb(207, 197, 150)
HSLhsl(49, 37%, 70%)
HSVhsv(49, 28%, 81%)
CMYKcmyk(0%, 4.8%, 27.5%, 18.8%)
CIE-LABlab(79.27, -3.81, 24.89)
CIE-LCHlch(79.27, 25.18, 98.71°)
OKLaboklab(82% -0.0083 0.0628)
OKLCHoklch(82% 0.063 97.5)
XYZxyz(51.2037, 55.4010, 36.8444)
Luminance0.5540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC596 #96A0CF
analogous
#CFA996 #CFC596 #BCCF96
triadic
#CFC596 #96CFC5 #C596CF
tetradic
#CFC596 #96CFA9 #96A0CF #CF96BC
square
#CFC596 #96CFA9 #96A0CF #CF96BC
split-complementary
#CFC596 #96BCCF #A996CF
monochromatic
#A1924A #BCAE6C #CFC596 #E2DCC0 #F5F3EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC596#FFFFFF#000000##000000
##CFC5961.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)
#CEC293
Deuteranopia (green-blind)
#D1C698
Tritanopia (blue-blind)
#D8BEB8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc596;
/* rgb */ color: rgb(207, 197, 150);
/* oklch */ color: oklch(82.0% 0.063 97.5);
Tailwind
colors: {
  custom: {
    50: '#ded6b5',
    500: '#cfc596',
    950: '#000000',
  },
}
SCSS
$custom: #cfc596;
$custom-light: #ded6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc596",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 150
  },
  "hsl": {
    "h": 49.474,
    "s": 37.255,
    "l": 70
  },
  "oklch": {
    "l": 0.81999,
    "c": 0.06338,
    "h": 97.5
  },
  "luminance": 0.554
}

Semantic roles & 50–950 ramp

primary
#CFC596
secondary
#6570A5
accent
#4BB035
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CFC596

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

Preview Lab → · Contrast checker → · Palette generator →

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