#CFD99F#CFD99F

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

Color values

HEX#CFD99F
RGBrgb(207, 217, 159)
HSLhsl(70, 43%, 74%)
HSVhsv(70, 27%, 85%)
CMYKcmyk(4.6%, 0%, 26.7%, 14.9%)
CIE-LABlab(84.69, -12.83, 27.52)
CIE-LCHlch(84.69, 30.37, 115.00°)
OKLaboklab(86.34% -0.0338 0.0693)
OKLCHoklch(86.34% 0.077 116)
XYZxyz(56.8027, 65.3947, 42.4242)
Luminance0.6539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD99F #A99FD9
analogous
#D9C69F #CFD99F #B2D99F
triadic
#CFD99F #9FCFD9 #D99FCF
tetradic
#CFD99F #9FD9C6 #A99FD9 #D99FB2
square
#CFD99F #9FD9C6 #A99FD9 #D99FB2
split-complementary
#CFD99F #9FB2D9 #C69FD9
monochromatic
#A3B648 #B9C873 #CFD99F #E5EACB #F4F6E9

Accessibility & contrast

On white

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

On black

14.08
#CFD99F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD99F
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD99F#FFFFFF#000000##000000
##CFD99F1.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D39B
Deuteranopia (green-blind)
#E0D4A1
Tritanopia (blue-blind)
#D5D3CA
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cfd99f;
/* rgb */ color: rgb(207, 217, 159);
/* oklch */ color: oklch(86.3% 0.077 116.0);
Tailwind
colors: {
  custom: {
    50: '#dee4bb',
    500: '#cfd99f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd99f;
$custom-light: #dee4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd99f",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 159
  },
  "hsl": {
    "h": 70.345,
    "s": 43.284,
    "l": 73.725
  },
  "oklch": {
    "l": 0.86343,
    "c": 0.07711,
    "h": 116
  },
  "luminance": 0.65394
}

Semantic roles & 50–950 ramp

primary
#CFD99F
secondary
#786CB0
accent
#2FB646
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151512
muted
#848482

Preview Lab

Preview with #CFD99F

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

Preview Lab → · Contrast checker → · Palette generator →

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