#CFDC98#CFDC98

#CFDC98 is a very light, moderate yellow-green. Relative luminance 0.667; OKLCH L 86.8% C 0.090 H 117.1°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#CFDC98
RGBrgb(207, 220, 152)
HSLhsl(71, 49%, 73%)
HSVhsv(71, 31%, 86%)
CMYKcmyk(5.9%, 0%, 30.9%, 13.7%)
CIE-LABlab(85.36, -15.28, 32.03)
CIE-LCHlch(85.36, 35.49, 115.50°)
OKLaboklab(86.84% -0.0409 0.0799)
OKLCHoklch(86.84% 0.09 117.1)
XYZxyz(56.9927, 66.7191, 39.5753)
Luminance0.6672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDC98 #A598DC
analogous
#DCC798 #CFDC98 #ADDC98
triadic
#CFDC98 #98CFDC #DC98CF
tetradic
#CFDC98 #98DCC7 #A598DC #DC98AD
square
#CFDC98 #98DCC7 #A598DC #DC98AD
split-complementary
#CFDC98 #98ADDC #C798DC
monochromatic
#A3BA3F #BACC6A #CFDC98 #E4ECC6 #F4F7E8

Accessibility & contrast

On white

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

On black

14.34
#CFDC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDC98
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDC98#FFFFFF#000000##000000
##CFDC981.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D593
Deuteranopia (green-blind)
#E4D69B
Tritanopia (blue-blind)
#D6D5CA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cfdc98;
/* rgb */ color: rgb(207, 220, 152);
/* oklch */ color: oklch(86.8% 0.090 117.1);
Tailwind
colors: {
  custom: {
    50: '#dee6b7',
    500: '#cfdc98',
    950: '#000000',
  },
}
SCSS
$custom: #cfdc98;
$custom-light: #dee6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdc98",
  "rgb": {
    "r": 207,
    "g": 220,
    "b": 152
  },
  "hsl": {
    "h": 71.471,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.8684,
    "c": 0.08976,
    "h": 117.1
  },
  "luminance": 0.66719
}

Semantic roles & 50–950 ramp

primary
#CFDC98
secondary
#7464B4
accent
#29BD45
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CFDC98

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

Preview Lab → · Contrast checker → · Palette generator →

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