#CFE98B#CFE98B

#CFE98B is a very light, vivid yellow-green. Relative luminance 0.734; OKLCH L 89.4% C 0.123 H 121.5°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#CFE98B
RGBrgb(207, 233, 139)
HSLhsl(77, 68%, 73%)
HSVhsv(77, 40%, 91%)
CMYKcmyk(11.2%, 0%, 40.3%, 8.6%)
CIE-LABlab(88.64, -23.24, 42.82)
CIE-LCHlch(88.64, 48.72, 118.49°)
OKLaboklab(89.39% -0.0641 0.1045)
OKLCHoklch(89.39% 0.123 121.5)
XYZxyz(59.5312, 73.4073, 35.4539)
Luminance0.7341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE98B #A58BE9
analogous
#E9D48B #CFE98B #A0E98B
triadic
#CFE98B #8BCFE9 #E98BCF
tetradic
#CFE98B #8BE9D4 #A58BE9 #E98BA0
square
#CFE98B #8BE9D4 #A58BE9 #E98BA0
split-complementary
#CFE98B #8BA0E9 #D48BE9
monochromatic
#A3D228 #BADF58 #CFE98B #E4F3BE #F4FAE5

Accessibility & contrast

On white

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

On black

15.68
#CFE98B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE98B
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE98B#FFFFFF#000000##000000
##CFE98B1.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DF84
Deuteranopia (green-blind)
#F0DF90
Tritanopia (blue-blind)
#D6E0D2
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cfe98b;
/* rgb */ color: rgb(207, 233, 139);
/* oklch */ color: oklch(89.4% 0.123 121.5);
Tailwind
colors: {
  custom: {
    50: '#dff0ae',
    500: '#cfe98b',
    950: '#000000',
  },
}
SCSS
$custom: #cfe98b;
$custom-light: #dff0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe98b",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 139
  },
  "hsl": {
    "h": 76.596,
    "s": 68.116,
    "l": 72.941
  },
  "oklch": {
    "l": 0.89394,
    "c": 0.12256,
    "h": 121.5
  },
  "luminance": 0.73407
}

Semantic roles & 50–950 ramp

primary
#CFE98B
secondary
#7455C3
accent
#15D049
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CFE98B

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

Preview Lab → · Contrast checker → · Palette generator →

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