#CFE970#CFE970

#CFE970 is a very light, vivid yellow-green. Relative luminance 0.727; OKLCH L 89.0% C 0.150 H 119.6°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#CFE970
RGBrgb(207, 233, 112)
HSLhsl(73, 73%, 68%)
HSVhsv(73, 52%, 91%)
CMYKcmyk(11.2%, 0%, 51.9%, 8.6%)
CIE-LABlab(88.31, -26.01, 55.27)
CIE-LCHlch(88.31, 61.08, 115.21°)
OKLaboklab(89.02% -0.074 0.1303)
OKLCHoklch(89.02% 0.15 119.6)
XYZxyz(57.7962, 72.7133, 26.3164)
Luminance0.7271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE970 #8A70E9
analogous
#E9C770 #CFE970 #92E970
triadic
#CFE970 #70CFE9 #E970CF
tetradic
#CFE970 #70E9C7 #8A70E9 #E97092
square
#CFE970 #70E9C7 #8A70E9 #E97092
split-complementary
#CFE970 #7092E9 #C770E9
monochromatic
#9EC11E #BDE13B #CFE970 #E1F1A5 #F3F9DA

Accessibility & contrast

On white

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

On black

15.54
#CFE970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE970
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE970#FFFFFF#000000##000000
##CFE9701.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE65
Deuteranopia (green-blind)
#F3DE77
Tritanopia (blue-blind)
#D9DECE
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cfe970;
/* rgb */ color: rgb(207, 233, 112);
/* oklch */ color: oklch(89.0% 0.150 119.6);
Tailwind
colors: {
  custom: {
    50: '#e0f09c',
    500: '#cfe970',
    950: '#000000',
  },
}
SCSS
$custom: #cfe970;
$custom-light: #e0f09c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe970",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 112
  },
  "hsl": {
    "h": 72.893,
    "s": 73.333,
    "l": 67.647
  },
  "oklch": {
    "l": 0.89022,
    "c": 0.14987,
    "h": 119.6
  },
  "luminance": 0.72713
}

Semantic roles & 50–950 ramp

primary
#CFE970
secondary
#5A3EC0
accent
#10D53A
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #CFE970

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

Preview Lab → · Contrast checker → · Palette generator →

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