#CAE251#CAE251

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

Color values

HEX#CAE251
RGBrgb(202, 226, 81)
HSLhsl(70, 71%, 60%)
HSVhsv(70, 64%, 89%)
CMYKcmyk(10.6%, 0%, 64.2%, 11.4%)
CIE-LABlab(85.78, -27.05, 65.66)
CIE-LCHlch(85.78, 71.01, 112.39°)
OKLaboklab(86.81% -0.0796 0.149)
OKLCHoklch(86.81% 0.169 118.1)
XYZxyz(53.0397, 67.5438, 18.0261)
Luminance0.6754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAE251 #6951E2
analogous
#E2B151 #CAE251 #81E251
triadic
#CAE251 #51CAE2 #E251CA
tetradic
#CAE251 #51E2B1 #6951E2 #E25181
square
#CAE251 #51E2B1 #6951E2 #E25181
split-complementary
#CAE251 #5181E2 #B151E2
monochromatic
#889E1A #B6D323 #CAE251 #DAEB85 #EAF3BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAE251#FFFFFF#000000##000000
##CAE2511.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)
#F0D63E
Deuteranopia (green-blind)
#EED75B
Tritanopia (blue-blind)
#D5D6C4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cae251;
/* rgb */ color: rgb(202, 226, 81);
/* oklch */ color: oklch(86.8% 0.169 118.1);
Tailwind
colors: {
  custom: {
    50: '#ddeb89',
    500: '#cae251',
    950: '#000000',
  },
}
SCSS
$custom: #cae251;
$custom-light: #ddeb89;
$custom-dark: #000000;
JSON
{
  "hex": "#cae251",
  "rgb": {
    "r": 202,
    "g": 226,
    "b": 81
  },
  "hsl": {
    "h": 69.931,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.8681,
    "c": 0.16896,
    "h": 118.1
  },
  "luminance": 0.67543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAE251

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

Preview Lab → · Contrast checker → · Palette generator →

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