#CAE152#CAE152

#CAE152 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 86.6% C 0.167 H 117.8°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#CAE152
RGBrgb(202, 225, 82)
HSLhsl(70, 70%, 60%)
HSVhsv(70, 64%, 88%)
CMYKcmyk(10.2%, 0%, 63.6%, 11.8%)
CIE-LABlab(85.51, -26.51, 64.98)
CIE-LCHlch(85.51, 70.18, 112.19°)
OKLaboklab(86.6% -0.078 0.1478)
OKLCHoklch(86.6% 0.167 117.8)
XYZxyz(52.8063, 67.0167, 18.1347)
Luminance0.6702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAE152 #6952E1
analogous
#E1B052 #CAE152 #83E152
triadic
#CAE152 #52CAE1 #E152CA
tetradic
#CAE152 #52E1B0 #6952E1 #E15283
square
#CAE152 #52E1B0 #6952E1 #E15283
split-complementary
#CAE152 #5283E1 #B052E1
monochromatic
#889D1B #B6D124 #CAE152 #DAEA86 #EAF3BA

Accessibility & contrast

On white

1.46
#CAE152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.40
#CAE152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAE152
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAE152#FFFFFF#000000##000000
##CAE1521.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53F
Deuteranopia (green-blind)
#EDD65C
Tritanopia (blue-blind)
#D5D5C4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cae152;
/* rgb */ color: rgb(202, 225, 82);
/* oklch */ color: oklch(86.6% 0.167 117.8);
Tailwind
colors: {
  custom: {
    50: '#ddea89',
    500: '#cae152',
    950: '#000000',
  },
}
SCSS
$custom: #cae152;
$custom-light: #ddea89;
$custom-dark: #000000;
JSON
{
  "hex": "#cae152",
  "rgb": {
    "r": 202,
    "g": 225,
    "b": 82
  },
  "hsl": {
    "h": 69.65,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.86599,
    "c": 0.16707,
    "h": 117.8
  },
  "luminance": 0.67016
}

Semantic roles & 50–950 ramp

primary
#CAE152
secondary
#4837A1
accent
#13D232
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #CAE152

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

Preview Lab → · Contrast checker → · Palette generator →

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