#CFDA98#CFDA98

#CFDA98 is a very light, moderate yellow-green. Relative luminance 0.657; OKLCH L 86.4% C 0.087 H 116.0°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#CFDA98
RGBrgb(207, 218, 152)
HSLhsl(70, 47%, 73%)
HSVhsv(70, 30%, 85%)
CMYKcmyk(5%, 0%, 30.3%, 14.5%)
CIE-LABlab(84.83, -14.28, 31.32)
CIE-LCHlch(84.83, 34.42, 114.50°)
OKLaboklab(86.42% -0.0381 0.0782)
OKLCHoklch(86.42% 0.087 116)
XYZxyz(56.4709, 65.6756, 39.4014)
Luminance0.6567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDA98 #A398DA
analogous
#DAC498 #CFDA98 #AEDA98
triadic
#CFDA98 #98CFDA #DA98CF
tetradic
#CFDA98 #98DAC4 #A398DA #DA98AE
square
#CFDA98 #98DAC4 #A398DA #DA98AE
split-complementary
#CFDA98 #98AEDA #C498DA
monochromatic
#A3B641 #BACA6B #CFDA98 #E4EAC5 #F5F7E8

Accessibility & contrast

On white

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

On black

14.14
#CFDA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDA98
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDA98#FFFFFF#000000##000000
##CFDA981.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D394
Deuteranopia (green-blind)
#E2D49B
Tritanopia (blue-blind)
#D6D3C9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #cfda98;
/* rgb */ color: rgb(207, 218, 152);
/* oklch */ color: oklch(86.4% 0.087 116.0);
Tailwind
colors: {
  custom: {
    50: '#dee5b7',
    500: '#cfda98',
    950: '#000000',
  },
}
SCSS
$custom: #cfda98;
$custom-light: #dee5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfda98",
  "rgb": {
    "r": 207,
    "g": 218,
    "b": 152
  },
  "hsl": {
    "h": 70,
    "s": 47.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.86418,
    "c": 0.08701,
    "h": 116
  },
  "luminance": 0.65675
}

Semantic roles & 50–950 ramp

primary
#CFDA98
secondary
#7265B1
accent
#2BBA43
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFDA98

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

Preview Lab → · Contrast checker → · Palette generator →

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