#CFE97A#CFE97A

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

Color values

HEX#CFE97A
RGBrgb(207, 233, 122)
HSLhsl(74, 72%, 70%)
HSVhsv(74, 48%, 91%)
CMYKcmyk(11.2%, 0%, 47.6%, 8.6%)
CIE-LABlab(88.42, -25.07, 50.75)
CIE-LCHlch(88.42, 56.60, 116.29°)
OKLaboklab(89.15% -0.0705 0.1212)
OKLCHoklch(89.15% 0.14 120.2)
XYZxyz(58.3842, 72.9485, 29.4133)
Luminance0.7295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE97A #947AE9
analogous
#E9CC7A #CFE97A #98E97A
triadic
#CFE97A #7ACFE9 #E97ACF
tetradic
#CFE97A #7AE9CC #947AE9 #E97A98
square
#CFE97A #7AE9CC #947AE9 #E97A98
split-complementary
#CFE97A #7A98E9 #CC7AE9
monochromatic
#A1C821 #BCE045 #CFE97A #E2F2AF #F5FAE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFE97A#FFFFFF#000000##000000
##CFE97A1.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)
#F5DE70
Deuteranopia (green-blind)
#F2DE80
Tritanopia (blue-blind)
#D8DFCF
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cfe97a;
/* rgb */ color: rgb(207, 233, 122);
/* oklch */ color: oklch(89.1% 0.140 120.2);
Tailwind
colors: {
  custom: {
    50: '#dff0a3',
    500: '#cfe97a',
    950: '#000000',
  },
}
SCSS
$custom: #cfe97a;
$custom-light: #dff0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe97a",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 74.054,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89148,
    "c": 0.14024,
    "h": 120.2
  },
  "luminance": 0.72948
}

Semantic roles & 50–950 ramp

primary
#CFE97A
secondary
#6346C1
accent
#12D43F
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CFE97A

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

Preview Lab → · Contrast checker → · Palette generator →

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