#CFD99E#CFD99E

#CFD99E is a very light, moderate yellow-green. Relative luminance 0.654; OKLCH L 86.3% C 0.078 H 115.9°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#CFD99E
RGBrgb(207, 217, 158)
HSLhsl(70, 44%, 74%)
HSVhsv(70, 27%, 85%)
CMYKcmyk(4.6%, 0%, 27.2%, 14.9%)
CIE-LABlab(84.67, -12.97, 28.01)
CIE-LCHlch(84.67, 30.87, 114.85°)
OKLaboklab(86.32% -0.0342 0.0705)
OKLCHoklch(86.32% 0.078 115.9)
XYZxyz(56.7163, 65.3601, 41.9690)
Luminance0.6536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD99E #A89ED9
analogous
#D9C59E #CFD99E #B1D99E
triadic
#CFD99E #9ECFD9 #D99ECF
tetradic
#CFD99E #9ED9C5 #A89ED9 #D99EB1
square
#CFD99E #9ED9C5 #A89ED9 #D99EB1
split-complementary
#CFD99E #9EB1D9 #C59ED9
monochromatic
#A3B547 #B9C872 #CFD99E #E5EACA #F4F6E9

Accessibility & contrast

On white

1.49
#CFD99E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.07
#CFD99E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD99E
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD99E#FFFFFF#000000##000000
##CFD99E1.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D39A
Deuteranopia (green-blind)
#E0D4A0
Tritanopia (blue-blind)
#D6D2C9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cfd99e;
/* rgb */ color: rgb(207, 217, 158);
/* oklch */ color: oklch(86.3% 0.078 115.9);
Tailwind
colors: {
  custom: {
    50: '#dee4bb',
    500: '#cfd99e',
    950: '#000000',
  },
}
SCSS
$custom: #cfd99e;
$custom-light: #dee4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd99e",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 158
  },
  "hsl": {
    "h": 70.169,
    "s": 43.704,
    "l": 73.529
  },
  "oklch": {
    "l": 0.86323,
    "c": 0.07834,
    "h": 115.9
  },
  "luminance": 0.6536
}

Semantic roles & 50–950 ramp

primary
#CFD99E
secondary
#776BB0
accent
#2FB746
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151512
muted
#848482

Preview Lab

Preview with #CFD99E

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

Preview Lab → · Contrast checker → · Palette generator →

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