#CFD96F#CFD96F

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

Color values

HEX#CFD96F
RGBrgb(207, 217, 111)
HSLhsl(66, 58%, 64%)
HSVhsv(66, 49%, 85%)
CMYKcmyk(4.6%, 0%, 48.8%, 14.9%)
CIE-LABlab(83.99, -18.36, 50.61)
CIE-LCHlch(83.99, 53.83, 109.94°)
OKLaboklab(85.56% -0.0525 0.1201)
OKLCHoklch(85.56% 0.131 113.6)
XYZxyz(53.4151, 64.0396, 24.5829)
Luminance0.6404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD96F #796FD9
analogous
#D9AE6F #CFD96F #9AD96F
triadic
#CFD96F #6FCFD9 #D96FCF
tetradic
#CFD96F #6FD9AE #796FD9 #D96F9A
square
#CFD96F #6FD9AE #796FD9 #D96F9A
split-complementary
#CFD96F #6F9AD9 #AE6FD9
monochromatic
#97A32B #BFCC3F #CFD96F #DFE69F #EFF3D0

Accessibility & contrast

On white

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

On black

13.81
#CFD96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD96F
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD96F#FFFFFF#000000##000000
##CFD96F1.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D065
Deuteranopia (green-blind)
#E6D375
Tritanopia (blue-blind)
#DACEC1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd96f;
/* rgb */ color: rgb(207, 217, 111);
/* oklch */ color: oklch(85.6% 0.131 113.6);
Tailwind
colors: {
  custom: {
    50: '#dfe49b',
    500: '#cfd96f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd96f;
$custom-light: #dfe49b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd96f",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 111
  },
  "hsl": {
    "h": 65.66,
    "s": 58.242,
    "l": 64.314
  },
  "oklch": {
    "l": 0.85556,
    "c": 0.13104,
    "h": 113.6
  },
  "luminance": 0.64039
}

Semantic roles & 50–950 ramp

primary
#CFD96F
secondary
#4F46A6
accent
#20C62F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD96F

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

Preview Lab → · Contrast checker → · Palette generator →

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