#CAE252#CAE252

#CAE252 is a very light, vivid yellow-green. Relative luminance 0.676; OKLCH L 86.8% C 0.168 H 118.1°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#CAE252
RGBrgb(202, 226, 82)
HSLhsl(70, 71%, 60%)
HSVhsv(70, 64%, 89%)
CMYKcmyk(10.6%, 0%, 63.7%, 11.4%)
CIE-LABlab(85.79, -26.99, 65.27)
CIE-LCHlch(85.79, 70.63, 112.46°)
OKLaboklab(86.82% -0.0793 0.1484)
OKLCHoklch(86.82% 0.168 118.1)
XYZxyz(53.0775, 67.5589, 18.2250)
Luminance0.6756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAE252 #6A52E2
analogous
#E2B252 #CAE252 #82E252
triadic
#CAE252 #52CAE2 #E252CA
tetradic
#CAE252 #52E2B2 #6A52E2 #E25282
square
#CAE252 #52E2B2 #6A52E2 #E25282
split-complementary
#CAE252 #5282E2 #B252E2
monochromatic
#899F1B #B6D323 #CAE252 #DAEB86 #EAF4BB

Accessibility & contrast

On white

1.45
#CAE252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#CAE252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAE252
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAE252#FFFFFF#000000##000000
##CAE2521.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63F
Deuteranopia (green-blind)
#EED75C
Tritanopia (blue-blind)
#D5D6C4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cae252;
/* rgb */ color: rgb(202, 226, 82);
/* oklch */ color: oklch(86.8% 0.168 118.1);
Tailwind
colors: {
  custom: {
    50: '#ddeb89',
    500: '#cae252',
    950: '#000000',
  },
}
SCSS
$custom: #cae252;
$custom-light: #ddeb89;
$custom-dark: #000000;
JSON
{
  "hex": "#cae252",
  "rgb": {
    "r": 202,
    "g": 226,
    "b": 82
  },
  "hsl": {
    "h": 70,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.86818,
    "c": 0.16823,
    "h": 118.1
  },
  "luminance": 0.67558
}

Semantic roles & 50–950 ramp

primary
#CAE252
secondary
#4836A2
accent
#12D332
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #CAE252

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

Preview Lab → · Contrast checker → · Palette generator →

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