#CFD596#CFD596

#CFD596 is a very light, moderate yellow. Relative luminance 0.631; OKLCH L 85.3% C 0.083 H 112.6°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#CFD596
RGBrgb(207, 213, 150)
HSLhsl(66, 43%, 71%)
HSVhsv(66, 30%, 84%)
CMYKcmyk(2.8%, 0%, 29.6%, 16.5%)
CIE-LABlab(83.47, -12.02, 30.54)
CIE-LCHlch(83.47, 32.83, 111.49°)
OKLaboklab(85.33% -0.0317 0.0763)
OKLCHoklch(85.33% 0.083 112.6)
XYZxyz(55.0314, 63.0565, 38.1203)
Luminance0.6306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD596 #9C96D5
analogous
#D5BB96 #CFD596 #AFD596
triadic
#CFD596 #96CFD5 #D596CF
tetradic
#CFD596 #96D5BB #9C96D5 #D596AF
square
#CFD596 #96D5BB #9C96D5 #D596AF
split-complementary
#CFD596 #96AFD5 #BB96D5
monochromatic
#A2AC45 #BBC46A #CFD596 #E3E6C2 #F5F6E9

Accessibility & contrast

On white

1.54
#CFD596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#CFD596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD596
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD596#FFFFFF#000000##000000
##CFD5961.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECF92
Deuteranopia (green-blind)
#DED199
Tritanopia (blue-blind)
#D7CEC5
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd596;
/* rgb */ color: rgb(207, 213, 150);
/* oklch */ color: oklch(85.3% 0.083 112.6);
Tailwind
colors: {
  custom: {
    50: '#dee1b5',
    500: '#cfd596',
    950: '#000000',
  },
}
SCSS
$custom: #cfd596;
$custom-light: #dee1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd596",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 150
  },
  "hsl": {
    "h": 65.714,
    "s": 42.857,
    "l": 71.176
  },
  "oklch": {
    "l": 0.85326,
    "c": 0.08268,
    "h": 112.6
  },
  "luminance": 0.63056
}

Semantic roles & 50–950 ramp

primary
#CFD596
secondary
#6B64AB
accent
#30B63C
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFD596

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

Preview Lab → · Contrast checker → · Palette generator →

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