#CFE952#CFE952

#CFE952 is a very light, vivid yellow-green. Relative luminance 0.722; OKLCH L 88.7% C 0.175 H 118.5°. Best body text is #000000 at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#CFE952
RGBrgb(207, 233, 82)
HSLhsl(70, 77%, 62%)
HSVhsv(70, 65%, 91%)
CMYKcmyk(11.2%, 0%, 64.8%, 8.6%)
CIE-LABlab(88.04, -28.31, 67.74)
CIE-LCHlch(88.04, 73.42, 112.68°)
OKLaboklab(88.72% -0.0833 0.1535)
OKLCHoklch(88.72% 0.175 118.5)
XYZxyz(56.3951, 72.1529, 18.9370)
Luminance0.7215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE952 #6C52E9
analogous
#E9B852 #CFE952 #84E952
triadic
#CFE952 #52CFE9 #E952CF
tetradic
#CFE952 #52E9B8 #6C52E9 #E95284
square
#CFE952 #52E9B8 #6C52E9 #E95284
split-complementary
#CFE952 #5284E9 #B852E9
monochromatic
#91AB16 #BFE11D #CFE952 #DEF088 #EDF7BF

Accessibility & contrast

On white

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

On black

15.43
#CFE952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE952
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE952#FFFFFF#000000##000000
##CFE9521.001.3615.4315.43
#FFFFFF1.361.0021.0021.00
#00000015.4321.001.001.00
##00000015.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD3D
Deuteranopia (green-blind)
#F5DD5D
Tritanopia (blue-blind)
#DBDDCA
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cfe952;
/* rgb */ color: rgb(207, 233, 82);
/* oklch */ color: oklch(88.7% 0.175 118.5);
Tailwind
colors: {
  custom: {
    50: '#e1f08a',
    500: '#cfe952',
    950: '#000000',
  },
}
SCSS
$custom: #cfe952;
$custom-light: #e1f08a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe952",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 82
  },
  "hsl": {
    "h": 70.331,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.88719,
    "c": 0.17461,
    "h": 118.5
  },
  "luminance": 0.72152
}

Semantic roles & 50–950 ramp

primary
#CFE952
secondary
#4833AC
accent
#0CDA2F
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CFE952

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

Preview Lab → · Contrast checker → · Palette generator →

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