#CFEC98#CFEC98

#CFEC98 is a very light, moderate yellow-green. Relative luminance 0.755; OKLCH L 90.3% C 0.112 H 124.1°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#CFEC98
RGBrgb(207, 236, 152)
HSLhsl(81, 69%, 76%)
HSVhsv(81, 36%, 93%)
CMYKcmyk(12.3%, 0%, 35.6%, 7.5%)
CIE-LABlab(89.64, -23.12, 37.66)
CIE-LCHlch(89.64, 44.19, 121.54°)
OKLaboklab(90.25% -0.0631 0.0931)
OKLCHoklch(90.25% 0.112 124.1)
XYZxyz(61.3946, 75.5231, 41.0426)
Luminance0.7552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC98 #B598EC
analogous
#ECDF98 #CFEC98 #A5EC98
triadic
#CFEC98 #98CFEC #EC98CF
tetradic
#CFEC98 #98ECDF #B598EC #EC98A5
square
#CFEC98 #98ECDF #B598EC #EC98A5
split-complementary
#CFEC98 #98A5EC #DF98EC
monochromatic
#9FD931 #B7E264 #CFEC98 #E7F6CC #F3FAE5

Accessibility & contrast

On white

1.30
#CFEC98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.10
#CFEC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC98
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC98#FFFFFF#000000##000000
##CFEC981.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E292
Deuteranopia (green-blind)
#F1E19C
Tritanopia (blue-blind)
#D5E4D7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #cfec98;
/* rgb */ color: rgb(207, 236, 152);
/* oklch */ color: oklch(90.3% 0.112 124.1);
Tailwind
colors: {
  custom: {
    50: '#def2b7',
    500: '#cfec98',
    950: '#000000',
  },
}
SCSS
$custom: #cfec98;
$custom-light: #def2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec98",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 152
  },
  "hsl": {
    "h": 80.714,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.90253,
    "c": 0.11244,
    "h": 124.1
  },
  "luminance": 0.75523
}

Semantic roles & 50–950 ramp

primary
#CFEC98
secondary
#8461C8
accent
#15D156
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CFEC98

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

Preview Lab → · Contrast checker → · Palette generator →

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