#CFD996#CFD996

#CFD996 is a very light, moderate yellow. Relative luminance 0.651; OKLCH L 86.2% C 0.088 H 115.2°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#CFD996
RGBrgb(207, 217, 150)
HSLhsl(69, 47%, 72%)
HSVhsv(69, 31%, 85%)
CMYKcmyk(4.6%, 0%, 30.9%, 14.9%)
CIE-LABlab(84.53, -14.04, 31.95)
CIE-LCHlch(84.53, 34.90, 113.71°)
OKLaboklab(86.17% -0.0375 0.0797)
OKLCHoklch(86.17% 0.088 115.2)
XYZxyz(56.0500, 65.0936, 38.4598)
Luminance0.6509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD996 #A096D9
analogous
#D9C296 #CFD996 #AED996
triadic
#CFD996 #96CFD9 #D996CF
tetradic
#CFD996 #96D9C2 #A096D9 #D996AE
square
#CFD996 #96D9C2 #A096D9 #D996AE
split-complementary
#CFD996 #96AED9 #C296D9
monochromatic
#A2B441 #BAC969 #CFD996 #E4E9C3 #F5F7E9

Accessibility & contrast

On white

1.50
#CFD996 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.02
#CFD996 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD996
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD996#FFFFFF#000000##000000
##CFD9961.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D291
Deuteranopia (green-blind)
#E2D499
Tritanopia (blue-blind)
#D6D2C8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cfd996;
/* rgb */ color: rgb(207, 217, 150);
/* oklch */ color: oklch(86.2% 0.088 115.2);
Tailwind
colors: {
  custom: {
    50: '#dee4b5',
    500: '#cfd996',
    950: '#000000',
  },
}
SCSS
$custom: #cfd996;
$custom-light: #dee4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd996",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 150
  },
  "hsl": {
    "h": 68.955,
    "s": 46.853,
    "l": 71.961
  },
  "oklch": {
    "l": 0.86169,
    "c": 0.08804,
    "h": 115.2
  },
  "luminance": 0.65093
}

Semantic roles & 50–950 ramp

primary
#CFD996
secondary
#6F63B0
accent
#2BBA41
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFD996

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

Preview Lab → · Contrast checker → · Palette generator →

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