#CFDD98#CFDD98

#CFDD98 is a very light, moderate yellow-green. Relative luminance 0.672; OKLCH L 87.1% C 0.091 H 117.7°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#CFDD98
RGBrgb(207, 221, 152)
HSLhsl(72, 50%, 73%)
HSVhsv(72, 31%, 87%)
CMYKcmyk(6.3%, 0%, 31.2%, 13.3%)
CIE-LABlab(85.63, -15.77, 32.38)
CIE-LCHlch(85.63, 36.02, 115.97°)
OKLaboklab(87.05% -0.0423 0.0807)
OKLCHoklch(87.05% 0.091 117.7)
XYZxyz(57.2559, 67.2456, 39.6631)
Luminance0.6724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDD98 #A698DD
analogous
#DDC898 #CFDD98 #ACDD98
triadic
#CFDD98 #98CFDD #DD98CF
tetradic
#CFDD98 #98DDC8 #A698DD #DD98AC
square
#CFDD98 #98DDC8 #A698DD #DD98AC
split-complementary
#CFDD98 #98ACDD #C898DD
monochromatic
#A3BC3E #BACE6A #CFDD98 #E4ECC6 #F4F7E8

Accessibility & contrast

On white

1.45
#CFDD98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#CFDD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDD98
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDD98#FFFFFF#000000##000000
##CFDD981.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D693
Deuteranopia (green-blind)
#E5D69B
Tritanopia (blue-blind)
#D6D6CB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cfdd98;
/* rgb */ color: rgb(207, 221, 152);
/* oklch */ color: oklch(87.1% 0.091 117.7);
Tailwind
colors: {
  custom: {
    50: '#dee7b7',
    500: '#cfdd98',
    950: '#000000',
  },
}
SCSS
$custom: #cfdd98;
$custom-light: #dee7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdd98",
  "rgb": {
    "r": 207,
    "g": 221,
    "b": 152
  },
  "hsl": {
    "h": 72.174,
    "s": 50.365,
    "l": 73.137
  },
  "oklch": {
    "l": 0.87052,
    "c": 0.09116,
    "h": 117.7
  },
  "luminance": 0.67245
}

Semantic roles & 50–950 ramp

primary
#CFDD98
secondary
#7564B5
accent
#28BE46
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CFDD98

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

Preview Lab → · Contrast checker → · Palette generator →

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