#CAE040#CAE040

#CAE040 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.2% C 0.178 H 117.2°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#CAE040
RGBrgb(202, 224, 64)
HSLhsl(68, 72%, 56%)
HSVhsv(68, 71%, 88%)
CMYKcmyk(9.8%, 0%, 71.4%, 12.2%)
CIE-LABlab(85.12, -27.07, 71.28)
CIE-LCHlch(85.12, 76.25, 110.80°)
OKLaboklab(86.24% -0.0812 0.1583)
OKLCHoklch(86.24% 0.178 117.2)
XYZxyz(51.9394, 66.2386, 14.8987)
Luminance0.6624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAE040 #5640E0
analogous
#E0A640 #CAE040 #7AE040
triadic
#CAE040 #40CAE0 #E040CA
tetradic
#CAE040 #40E0A6 #5640E0 #E0407A
square
#CAE040 #40E0A6 #5640E0 #E0407A
split-complementary
#CAE040 #407AE0 #A640E0
monochromatic
#7E8E17 #ADC320 #CAE040 #D9E975 #E7F1A9

Accessibility & contrast

On white

1.47
#CAE040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#CAE040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAE040
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAE040#FFFFFF#000000##000000
##CAE0401.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD422
Deuteranopia (green-blind)
#EDD64D
Tritanopia (blue-blind)
#D6D4C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cae040;
/* rgb */ color: rgb(202, 224, 64);
/* oklch */ color: oklch(86.2% 0.178 117.2);
Tailwind
colors: {
  custom: {
    50: '#dee97f',
    500: '#cae040',
    950: '#000000',
  },
}
SCSS
$custom: #cae040;
$custom-light: #dee97f;
$custom-dark: #000000;
JSON
{
  "hex": "#cae040",
  "rgb": {
    "r": 202,
    "g": 224,
    "b": 64
  },
  "hsl": {
    "h": 68.25,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.86244,
    "c": 0.17791,
    "h": 117.2
  },
  "luminance": 0.66238
}

Semantic roles & 50–950 ramp

primary
#CAE040
secondary
#3E3194
accent
#39EF52
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CAE040

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

Preview Lab → · Contrast checker → · Palette generator →

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