#CFD96C#CFD96C

#CFD96C is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.5% C 0.134 H 113.6°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#CFD96C
RGBrgb(207, 217, 108)
HSLhsl(66, 59%, 64%)
HSVhsv(66, 50%, 85%)
CMYKcmyk(4.6%, 0%, 50.2%, 14.9%)
CIE-LABlab(83.95, -18.63, 51.98)
CIE-LCHlch(83.95, 55.22, 109.72°)
OKLaboklab(85.52% -0.0536 0.1228)
OKLCHoklch(85.52% 0.134 113.6)
XYZxyz(53.2527, 63.9747, 23.7275)
Luminance0.6397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD96C #766CD9
analogous
#D9AC6C #CFD96C #98D96C
triadic
#CFD96C #6CCFD9 #D96CCF
tetradic
#CFD96C #6CD9AC #766CD9 #D96C98
square
#CFD96C #6CD9AC #766CD9 #D96C98
split-complementary
#CFD96C #6C98D9 #AC6CD9
monochromatic
#96A12A #BFCC3B #CFD96C #DFE69D #EFF2CD

Accessibility & contrast

On white

1.52
#CFD96C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#CFD96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD96C
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD96C#FFFFFF#000000##000000
##CFD96C1.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D062
Deuteranopia (green-blind)
#E6D372
Tritanopia (blue-blind)
#DACEC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd96c;
/* rgb */ color: rgb(207, 217, 108);
/* oklch */ color: oklch(85.5% 0.134 113.6);
Tailwind
colors: {
  custom: {
    50: '#e0e499',
    500: '#cfd96c',
    950: '#000000',
  },
}
SCSS
$custom: #cfd96c;
$custom-light: #e0e499;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd96c",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 108
  },
  "hsl": {
    "h": 65.505,
    "s": 58.919,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85518,
    "c": 0.13396,
    "h": 113.6
  },
  "luminance": 0.63974
}

Semantic roles & 50–950 ramp

primary
#CFD96C
secondary
#4D45A5
accent
#1FC72E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD96C

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

Preview Lab → · Contrast checker → · Palette generator →

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