#CFD96D#CFD96D

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

Color values

HEX#CFD96D
RGBrgb(207, 217, 109)
HSLhsl(66, 59%, 64%)
HSVhsv(66, 50%, 85%)
CMYKcmyk(4.6%, 0%, 49.8%, 14.9%)
CIE-LABlab(83.96, -18.54, 51.52)
CIE-LCHlch(83.96, 54.76, 109.79°)
OKLaboklab(85.53% -0.0532 0.1219)
OKLCHoklch(85.53% 0.133 113.6)
XYZxyz(53.3062, 63.9961, 24.0094)
Luminance0.6400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD96D #776DD9
analogous
#D9AD6D #CFD96D #99D96D
triadic
#CFD96D #6DCFD9 #D96DCF
tetradic
#CFD96D #6DD9AD #776DD9 #D96D99
square
#CFD96D #6DD9AD #776DD9 #D96D99
split-complementary
#CFD96D #6D99D9 #AD6DD9
monochromatic
#96A22A #BFCC3C #CFD96D #DFE69E #EFF2CE

Accessibility & contrast

On white

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

On black

13.80
#CFD96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD96D
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD96D#FFFFFF#000000##000000
##CFD96D1.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd96d;
/* rgb */ color: rgb(207, 217, 109);
/* oklch */ color: oklch(85.5% 0.133 113.6);
Tailwind
colors: {
  custom: {
    50: '#e0e499',
    500: '#cfd96d',
    950: '#000000',
  },
}
SCSS
$custom: #cfd96d;
$custom-light: #e0e499;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd96d",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 109
  },
  "hsl": {
    "h": 65.556,
    "s": 58.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85531,
    "c": 0.133,
    "h": 113.6
  },
  "luminance": 0.63995
}

Semantic roles & 50–950 ramp

primary
#CFD96D
secondary
#4E45A5
accent
#1FC62F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD96D

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

Preview Lab → · Contrast checker → · Palette generator →

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