#CFD96E#CFD96E

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

Color values

HEX#CFD96E
RGBrgb(207, 217, 110)
HSLhsl(66, 58%, 64%)
HSVhsv(66, 49%, 85%)
CMYKcmyk(4.6%, 0%, 49.3%, 14.9%)
CIE-LABlab(83.97, -18.45, 51.07)
CIE-LCHlch(83.97, 54.30, 109.87°)
OKLaboklab(85.54% -0.0528 0.121)
OKLCHoklch(85.54% 0.132 113.6)
XYZxyz(53.3603, 64.0177, 24.2945)
Luminance0.6402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD96E #786ED9
analogous
#D9AD6E #CFD96E #9AD96E
triadic
#CFD96E #6ECFD9 #D96ECF
tetradic
#CFD96E #6ED9AD #786ED9 #D96E9A
square
#CFD96E #6ED9AD #786ED9 #D96E9A
split-complementary
#CFD96E #6E9AD9 #AD6ED9
monochromatic
#97A22A #BFCC3E #CFD96E #DFE69E #EFF2CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD96E#FFFFFF#000000##000000
##CFD96E1.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)
#E6D064
Deuteranopia (green-blind)
#E6D374
Tritanopia (blue-blind)
#DACEC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd96e;
/* rgb */ color: rgb(207, 217, 110);
/* oklch */ color: oklch(85.5% 0.132 113.6);
Tailwind
colors: {
  custom: {
    50: '#dfe49a',
    500: '#cfd96e',
    950: '#000000',
  },
}
SCSS
$custom: #cfd96e;
$custom-light: #dfe49a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd96e",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 110
  },
  "hsl": {
    "h": 65.607,
    "s": 58.47,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85544,
    "c": 0.13202,
    "h": 113.6
  },
  "luminance": 0.64017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFD96E

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

Preview Lab → · Contrast checker → · Palette generator →

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