#CFE98E#CFE98E

#CFE98E is a very light, moderate yellow-green. Relative luminance 0.735; OKLCH L 89.4% C 0.119 H 121.8°. Best body text is #000000 at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#CFE98E
RGBrgb(207, 233, 142)
HSLhsl(77, 67%, 74%)
HSVhsv(77, 39%, 91%)
CMYKcmyk(11.2%, 0%, 39.1%, 8.6%)
CIE-LABlab(88.68, -22.89, 41.40)
CIE-LCHlch(88.68, 47.31, 118.94°)
OKLaboklab(89.44% -0.063 0.1013)
OKLCHoklch(89.44% 0.119 121.8)
XYZxyz(59.7534, 73.4962, 36.6242)
Luminance0.7350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE98E #A88EE9
analogous
#E9D58E #CFE98E #A1E98E
triadic
#CFE98E #8ECFE9 #E98ECF
tetradic
#CFE98E #8EE9D5 #A88EE9 #E98EA1
square
#CFE98E #8EE9D5 #A88EE9 #E98EA1
split-complementary
#CFE98E #8EA1E9 #D58EE9
monochromatic
#A3D329 #B9DF5B #CFE98E #E5F3C1 #F4FAE5

Accessibility & contrast

On white

1.34
#CFE98E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.70
#CFE98E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE98E
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE98E#FFFFFF#000000##000000
##CFE98E1.001.3415.7015.70
#FFFFFF1.341.0021.0021.00
#00000015.7021.001.001.00
##00000015.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DF87
Deuteranopia (green-blind)
#F0DF93
Tritanopia (blue-blind)
#D6E1D3
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cfe98e;
/* rgb */ color: rgb(207, 233, 142);
/* oklch */ color: oklch(89.4% 0.119 121.8);
Tailwind
colors: {
  custom: {
    50: '#dff0b0',
    500: '#cfe98e',
    950: '#000000',
  },
}
SCSS
$custom: #cfe98e;
$custom-light: #dff0b0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe98e",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 142
  },
  "hsl": {
    "h": 77.143,
    "s": 67.407,
    "l": 73.529
  },
  "oklch": {
    "l": 0.89442,
    "c": 0.1193,
    "h": 121.8
  },
  "luminance": 0.73496
}

Semantic roles & 50–950 ramp

primary
#CFE98E
secondary
#7758C3
accent
#16CF4B
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CFE98E

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

Preview Lab → · Contrast checker → · Palette generator →

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