#CFD96B#CFD96B

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

Color values

HEX#CFD96B
RGBrgb(207, 217, 107)
HSLhsl(65, 59%, 64%)
HSVhsv(65, 51%, 85%)
CMYKcmyk(4.6%, 0%, 50.7%, 14.9%)
CIE-LABlab(83.94, -18.72, 52.43)
CIE-LCHlch(83.94, 55.67, 109.65°)
OKLaboklab(85.51% -0.0539 0.1237)
OKLCHoklch(85.51% 0.135 113.5)
XYZxyz(53.1998, 63.9535, 23.4488)
Luminance0.6395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD96B #756BD9
analogous
#D9AC6B #CFD96B #98D96B
triadic
#CFD96B #6BCFD9 #D96BCF
tetradic
#CFD96B #6BD9AC #756BD9 #D96B98
square
#CFD96B #6BD9AC #756BD9 #D96B98
split-complementary
#CFD96B #6B98D9 #AC6BD9
monochromatic
#96A029 #BFCC3A #CFD96B #DFE69C #EFF2CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD96B#FFFFFF#000000##000000
##CFD96B1.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)
#E7D061
Deuteranopia (green-blind)
#E6D371
Tritanopia (blue-blind)
#DACEC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd96b;
/* rgb */ color: rgb(207, 217, 107);
/* oklch */ color: oklch(85.5% 0.135 113.5);
Tailwind
colors: {
  custom: {
    50: '#e0e498',
    500: '#cfd96b',
    950: '#000000',
  },
}
SCSS
$custom: #cfd96b;
$custom-light: #e0e498;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd96b",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 107
  },
  "hsl": {
    "h": 65.455,
    "s": 59.14,
    "l": 63.529
  },
  "oklch": {
    "l": 0.85506,
    "c": 0.13493,
    "h": 113.5
  },
  "luminance": 0.63953
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFD96B

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

Preview Lab → · Contrast checker → · Palette generator →

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