#CFED98#CFED98

#CFED98 is a very light, moderate yellow-green. Relative luminance 0.761; OKLCH L 90.5% C 0.114 H 124.5°. Best body text is #000000 at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#CFED98
RGBrgb(207, 237, 152)
HSLhsl(81, 70%, 76%)
HSVhsv(81, 36%, 93%)
CMYKcmyk(12.7%, 0%, 35.9%, 7.1%)
CIE-LABlab(89.91, -23.60, 38.01)
CIE-LCHlch(89.91, 44.74, 121.83°)
OKLaboklab(90.47% -0.0644 0.0939)
OKLCHoklch(90.47% 0.114 124.5)
XYZxyz(61.6833, 76.1005, 41.1389)
Luminance0.7610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFED98 #B698ED
analogous
#EDE098 #CFED98 #A5ED98
triadic
#CFED98 #98CFED #ED98CF
tetradic
#CFED98 #98EDE0 #B698ED #ED98A5
square
#CFED98 #98EDE0 #B698ED #ED98A5
split-complementary
#CFED98 #98A5ED #E098ED
monochromatic
#9EDB30 #B7E464 #CFED98 #E7F6CC #F3FAE5

Accessibility & contrast

On white

1.29
#CFED98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.22
#CFED98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFED98
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFED98#FFFFFF#000000##000000
##CFED981.001.2916.2216.22
#FFFFFF1.291.0021.0021.00
#00000016.2221.001.001.00
##00000016.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E392
Deuteranopia (green-blind)
#F2E29C
Tritanopia (blue-blind)
#D5E5D8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #cfed98;
/* rgb */ color: rgb(207, 237, 152);
/* oklch */ color: oklch(90.5% 0.114 124.5);
Tailwind
colors: {
  custom: {
    50: '#def3b7',
    500: '#cfed98',
    950: '#000000',
  },
}
SCSS
$custom: #cfed98;
$custom-light: #def3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfed98",
  "rgb": {
    "r": 207,
    "g": 237,
    "b": 152
  },
  "hsl": {
    "h": 81.176,
    "s": 70.248,
    "l": 76.275
  },
  "oklch": {
    "l": 0.90468,
    "c": 0.11387,
    "h": 124.5
  },
  "luminance": 0.76101
}

Semantic roles & 50–950 ramp

primary
#CFED98
secondary
#8560C9
accent
#13D257
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CFED98

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

Preview Lab → · Contrast checker → · Palette generator →

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