#CFE97B#CFE97B

#CFE97B is a very light, vivid yellow-green. Relative luminance 0.730; OKLCH L 89.2% C 0.139 H 120.2°. Best body text is #000000 at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#CFE97B
RGBrgb(207, 233, 123)
HSLhsl(74, 71%, 70%)
HSVhsv(74, 47%, 91%)
CMYKcmyk(11.2%, 0%, 47.2%, 8.6%)
CIE-LABlab(88.44, -24.97, 50.29)
CIE-LCHlch(88.44, 56.15, 116.40°)
OKLaboklab(89.16% -0.0701 0.1203)
OKLCHoklch(89.16% 0.139 120.2)
XYZxyz(58.4465, 72.9734, 29.7413)
Luminance0.7297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE97B #957BE9
analogous
#E9CC7B #CFE97B #98E97B
triadic
#CFE97B #7BCFE9 #E97BCF
tetradic
#CFE97B #7BE9CC #957BE9 #E97B98
square
#CFE97B #7BE9CC #957BE9 #E97B98
split-complementary
#CFE97B #7B98E9 #CC7BE9
monochromatic
#A1C821 #BCE047 #CFE97B #E2F2AF #F5FAE4

Accessibility & contrast

On white

1.35
#CFE97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.59
#CFE97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE97B
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE97B#FFFFFF#000000##000000
##CFE97B1.001.3515.5915.59
#FFFFFF1.351.0021.0021.00
#00000015.5921.001.001.00
##00000015.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE72
Deuteranopia (green-blind)
#F2DE81
Tritanopia (blue-blind)
#D8DFCF
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cfe97b;
/* rgb */ color: rgb(207, 233, 123);
/* oklch */ color: oklch(89.2% 0.139 120.2);
Tailwind
colors: {
  custom: {
    50: '#dff0a3',
    500: '#cfe97b',
    950: '#000000',
  },
}
SCSS
$custom: #cfe97b;
$custom-light: #dff0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe97b",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 123
  },
  "hsl": {
    "h": 74.182,
    "s": 71.429,
    "l": 69.804
  },
  "oklch": {
    "l": 0.89162,
    "c": 0.13924,
    "h": 120.2
  },
  "luminance": 0.72973
}

Semantic roles & 50–950 ramp

primary
#CFE97B
secondary
#6447C2
accent
#12D340
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CFE97B

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

Preview Lab → · Contrast checker → · Palette generator →

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