#CFDF98#CFDF98

#CFDF98 is a very light, moderate yellow-green. Relative luminance 0.683; OKLCH L 87.5% C 0.094 H 118.7°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#CFDF98
RGBrgb(207, 223, 152)
HSLhsl(74, 53%, 74%)
HSVhsv(74, 32%, 87%)
CMYKcmyk(7.2%, 0%, 31.8%, 12.5%)
CIE-LABlab(86.16, -16.77, 33.09)
CIE-LCHlch(86.16, 37.10, 116.87°)
OKLaboklab(87.48% -0.0451 0.0824)
OKLCHoklch(87.48% 0.094 118.7)
XYZxyz(57.7871, 68.3080, 39.8401)
Luminance0.6831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDF98 #A898DF
analogous
#DFCB98 #CFDF98 #ABDF98
triadic
#CFDF98 #98CFDF #DF98CF
tetradic
#CFDF98 #98DFCB #A898DF #DF98AB
square
#CFDF98 #98DFCB #A898DF #DF98AB
split-complementary
#CFDF98 #98ABDF #CB98DF
monochromatic
#A3C13C #B9D069 #CFDF98 #E5EEC7 #F4F8E8

Accessibility & contrast

On white

1.43
#CFDF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#CFDF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDF98
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDF98#FFFFFF#000000##000000
##CFDF981.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D793
Deuteranopia (green-blind)
#E6D89B
Tritanopia (blue-blind)
#D6D8CD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cfdf98;
/* rgb */ color: rgb(207, 223, 152);
/* oklch */ color: oklch(87.5% 0.094 118.7);
Tailwind
colors: {
  custom: {
    50: '#dee9b7',
    500: '#cfdf98',
    950: '#000000',
  },
}
SCSS
$custom: #cfdf98;
$custom-light: #dee9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdf98",
  "rgb": {
    "r": 207,
    "g": 223,
    "b": 152
  },
  "hsl": {
    "h": 73.521,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.87476,
    "c": 0.09395,
    "h": 118.7
  },
  "luminance": 0.68308
}

Semantic roles & 50–950 ramp

primary
#CFDF98
secondary
#7764B7
accent
#25C048
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CFDF98

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

Preview Lab → · Contrast checker → · Palette generator →

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