#CFDC99#CFDC99

#CFDC99 is a very light, moderate yellow-green. Relative luminance 0.668; OKLCH L 86.9% C 0.089 H 117.2°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#CFDC99
RGBrgb(207, 220, 153)
HSLhsl(72, 49%, 73%)
HSVhsv(72, 30%, 86%)
CMYKcmyk(5.9%, 0%, 30.5%, 13.7%)
CIE-LABlab(85.38, -15.15, 31.54)
CIE-LCHlch(85.38, 34.99, 115.65°)
OKLaboklab(86.86% -0.0405 0.0788)
OKLCHoklch(86.86% 0.089 117.2)
XYZxyz(57.0749, 66.7520, 40.0085)
Luminance0.6675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDC99 #A699DC
analogous
#DCC799 #CFDC99 #ADDC99
triadic
#CFDC99 #99CFDC #DC99CF
tetradic
#CFDC99 #99DCC7 #A699DC #DC99AD
square
#CFDC99 #99DCC7 #A699DC #DC99AD
split-complementary
#CFDC99 #99ADDC #C799DC
monochromatic
#A3BB40 #BACC6B #CFDC99 #E4ECC7 #F4F7E8

Accessibility & contrast

On white

1.46
#CFDC99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#CFDC99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDC99
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDC99#FFFFFF#000000##000000
##CFDC991.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D594
Deuteranopia (green-blind)
#E4D69C
Tritanopia (blue-blind)
#D6D5CB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cfdc99;
/* rgb */ color: rgb(207, 220, 153);
/* oklch */ color: oklch(86.9% 0.089 117.2);
Tailwind
colors: {
  custom: {
    50: '#dee6b7',
    500: '#cfdc99',
    950: '#000000',
  },
}
SCSS
$custom: #cfdc99;
$custom-light: #dee6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdc99",
  "rgb": {
    "r": 207,
    "g": 220,
    "b": 153
  },
  "hsl": {
    "h": 71.642,
    "s": 48.905,
    "l": 73.137
  },
  "oklch": {
    "l": 0.86859,
    "c": 0.08858,
    "h": 117.2
  },
  "luminance": 0.66752
}

Semantic roles & 50–950 ramp

primary
#CFDC99
secondary
#7565B4
accent
#29BC46
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CFDC99

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

Preview Lab → · Contrast checker → · Palette generator →

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