#CAE151#CAE151

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

Color values

HEX#CAE151
RGBrgb(202, 225, 81)
HSLhsl(70, 71%, 60%)
HSVhsv(70, 64%, 88%)
CMYKcmyk(10.2%, 0%, 64%, 11.8%)
CIE-LABlab(85.50, -26.58, 65.37)
CIE-LCHlch(85.50, 70.57, 112.12°)
OKLaboklab(86.59% -0.0783 0.1484)
OKLCHoklch(86.59% 0.168 117.8)
XYZxyz(52.7686, 67.0016, 17.9357)
Luminance0.6700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAE151 #6851E1
analogous
#E1B051 #CAE151 #82E151
triadic
#CAE151 #51CAE1 #E151CA
tetradic
#CAE151 #51E1B0 #6851E1 #E15182
square
#CAE151 #51E1B0 #6851E1 #E15182
split-complementary
#CAE151 #5182E1 #B051E1
monochromatic
#889D1B #B5D124 #CAE151 #DAEA85 #EAF3B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAE151#FFFFFF#000000##000000
##CAE1511.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)
#EFD53E
Deuteranopia (green-blind)
#EDD65B
Tritanopia (blue-blind)
#D6D5C3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cae151;
/* rgb */ color: rgb(202, 225, 81);
/* oklch */ color: oklch(86.6% 0.168 117.8);
Tailwind
colors: {
  custom: {
    50: '#ddea89',
    500: '#cae151',
    950: '#000000',
  },
}
SCSS
$custom: #cae151;
$custom-light: #ddea89;
$custom-dark: #000000;
JSON
{
  "hex": "#cae151",
  "rgb": {
    "r": 202,
    "g": 225,
    "b": 81
  },
  "hsl": {
    "h": 69.583,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.86591,
    "c": 0.16781,
    "h": 117.8
  },
  "luminance": 0.67001
}

Semantic roles & 50–950 ramp

primary
#CAE151
secondary
#4736A0
accent
#3AED57
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #CAE151

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

Preview Lab → · Contrast checker → · Palette generator →

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