#CFDB98#CFDB98

#CFDB98 is a very light, moderate yellow-green. Relative luminance 0.662; OKLCH L 86.6% C 0.088 H 116.5°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#CFDB98
RGBrgb(207, 219, 152)
HSLhsl(71, 48%, 73%)
HSVhsv(71, 31%, 86%)
CMYKcmyk(5.5%, 0%, 30.6%, 14.1%)
CIE-LABlab(85.10, -14.78, 31.68)
CIE-LCHlch(85.10, 34.95, 115.01°)
OKLaboklab(86.63% -0.0395 0.0791)
OKLCHoklch(86.63% 0.088 116.5)
XYZxyz(56.7310, 66.1958, 39.4881)
Luminance0.6620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDB98 #A498DB
analogous
#DBC598 #CFDB98 #AEDB98
triadic
#CFDB98 #98CFDB #DB98CF
tetradic
#CFDB98 #98DBC5 #A498DB #DB98AE
square
#CFDB98 #98DBC5 #A498DB #DB98AE
split-complementary
#CFDB98 #98AEDB #C598DB
monochromatic
#A3B840 #BACB6B #CFDB98 #E4EBC5 #F4F7E8

Accessibility & contrast

On white

1.47
#CFDB98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.24
#CFDB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDB98
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDB98#FFFFFF#000000##000000
##CFDB981.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D493
Deuteranopia (green-blind)
#E3D59B
Tritanopia (blue-blind)
#D6D4CA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cfdb98;
/* rgb */ color: rgb(207, 219, 152);
/* oklch */ color: oklch(86.6% 0.088 116.5);
Tailwind
colors: {
  custom: {
    50: '#dee6b7',
    500: '#cfdb98',
    950: '#000000',
  },
}
SCSS
$custom: #cfdb98;
$custom-light: #dee6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdb98",
  "rgb": {
    "r": 207,
    "g": 219,
    "b": 152
  },
  "hsl": {
    "h": 70.746,
    "s": 48.201,
    "l": 72.745
  },
  "oklch": {
    "l": 0.86629,
    "c": 0.08839,
    "h": 116.5
  },
  "luminance": 0.66195
}

Semantic roles & 50–950 ramp

primary
#CFDB98
secondary
#7365B3
accent
#2ABB44
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFDB98

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

Preview Lab → · Contrast checker → · Palette generator →

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