#CFE962#CFE962

#CFE962 is a very light, vivid yellow-green. Relative luminance 0.724; OKLCH L 88.9% C 0.162 H 119.0°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#CFE962
RGBrgb(207, 233, 98)
HSLhsl(72, 75%, 65%)
HSVhsv(72, 58%, 91%)
CMYKcmyk(11.2%, 0%, 57.9%, 8.6%)
CIE-LABlab(88.17, -27.19, 61.32)
CIE-LCHlch(88.17, 67.08, 113.91°)
OKLaboklab(88.87% -0.0786 0.1419)
OKLCHoklch(88.87% 0.162 119)
XYZxyz(57.0765, 72.4254, 22.5256)
Luminance0.7242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE962 #7C62E9
analogous
#E9C062 #CFE962 #8BE962
triadic
#CFE962 #62CFE9 #E962CF
tetradic
#CFE962 #62E9C0 #7C62E9 #E9628B
square
#CFE962 #62E9C0 #7C62E9 #E9628B
split-complementary
#CFE962 #628BE9 #C062E9
monochromatic
#99B71A #BFE12C #CFE962 #DFF198 #F0F8CD

Accessibility & contrast

On white

1.36
#CFE962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.49
#CFE962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE962
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE962#FFFFFF#000000##000000
##CFE9621.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD53
Deuteranopia (green-blind)
#F4DE6B
Tritanopia (blue-blind)
#DADECC
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cfe962;
/* rgb */ color: rgb(207, 233, 98);
/* oklch */ color: oklch(88.9% 0.162 119.0);
Tailwind
colors: {
  custom: {
    50: '#e0f093',
    500: '#cfe962',
    950: '#000000',
  },
}
SCSS
$custom: #cfe962;
$custom-light: #e0f093;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe962",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 71.556,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88867,
    "c": 0.16224,
    "h": 119
  },
  "luminance": 0.72425
}

Semantic roles & 50–950 ramp

primary
#CFE962
secondary
#5138B7
accent
#0ED835
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CFE962

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

Preview Lab → · Contrast checker → · Palette generator →

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