#CFE98F#CFE98F

#CFE98F is a very light, moderate yellow-green. Relative luminance 0.735; OKLCH L 89.5% C 0.118 H 122.0°. Best body text is #000000 at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#CFE98F
RGBrgb(207, 233, 143)
HSLhsl(77, 67%, 74%)
HSVhsv(77, 39%, 91%)
CMYKcmyk(11.2%, 0%, 38.6%, 8.6%)
CIE-LABlab(88.70, -22.78, 40.92)
CIE-LCHlch(88.70, 46.83, 119.10°)
OKLaboklab(89.46% -0.0626 0.1003)
OKLCHoklch(89.46% 0.118 122)
XYZxyz(59.8288, 73.5264, 37.0214)
Luminance0.7353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE98F #A98FE9
analogous
#E9D68F #CFE98F #A2E98F
triadic
#CFE98F #8FCFE9 #E98FCF
tetradic
#CFE98F #8FE9D6 #A98FE9 #E98FA2
square
#CFE98F #8FE9D6 #A98FE9 #E98FA2
split-complementary
#CFE98F #8FA2E9 #D68FE9
monochromatic
#A3D42A #B9DF5C #CFE98F #E5F3C2 #F4FAE5

Accessibility & contrast

On white

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

On black

15.71
#CFE98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE98F
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE98F#FFFFFF#000000##000000
##CFE98F1.001.3415.7115.71
#FFFFFF1.341.0021.0021.00
#00000015.7121.001.001.00
##00000015.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfe98f;
/* rgb */ color: rgb(207, 233, 143);
/* oklch */ color: oklch(89.5% 0.118 122.0);
Tailwind
colors: {
  custom: {
    50: '#dff0b1',
    500: '#cfe98f',
    950: '#000000',
  },
}
SCSS
$custom: #cfe98f;
$custom-light: #dff0b1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe98f",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 143
  },
  "hsl": {
    "h": 77.333,
    "s": 67.164,
    "l": 73.725
  },
  "oklch": {
    "l": 0.89458,
    "c": 0.1182,
    "h": 122
  },
  "luminance": 0.73526
}

Semantic roles & 50–950 ramp

primary
#CFE98F
secondary
#7859C3
accent
#16CF4C
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151611
muted
#848581

Preview Lab

Preview with #CFE98F

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

Preview Lab → · Contrast checker → · Palette generator →

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