#CAE338#CAE338

#CAE338 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 86.9% C 0.186 H 117.9°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#CAE338
RGBrgb(202, 227, 56)
HSLhsl(69, 75%, 55%)
HSVhsv(69, 75%, 89%)
CMYKcmyk(11%, 0%, 75.3%, 11%)
CIE-LABlab(85.90, -28.86, 74.61)
CIE-LCHlch(85.90, 79.99, 111.15°)
OKLaboklab(86.86% -0.0868 0.164)
OKLCHoklch(86.86% 0.186 117.9)
XYZxyz(52.5413, 67.7808, 14.0557)
Luminance0.6778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAE338 #5138E3
analogous
#E3A638 #CAE338 #74E338
triadic
#CAE338 #38CAE3 #E338CA
tetradic
#CAE338 #38E3A6 #5138E3 #E33874
square
#CAE338 #38E3A6 #5138E3 #E33874
split-complementary
#CAE338 #3874E3 #A638E3
monochromatic
#7B8D14 #AAC21B #CAE338 #D8EB6E #E7F2A3

Accessibility & contrast

On white

1.44
#CAE338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#CAE338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAE338
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAE338#FFFFFF#000000##000000
##CAE3381.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D608
Deuteranopia (green-blind)
#F0D848
Tritanopia (blue-blind)
#D6D6C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cae338;
/* rgb */ color: rgb(202, 227, 56);
/* oklch */ color: oklch(86.9% 0.186 117.9);
Tailwind
colors: {
  custom: {
    50: '#deeb7c',
    500: '#cae338',
    950: '#000000',
  },
}
SCSS
$custom: #cae338;
$custom-light: #deeb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cae338",
  "rgb": {
    "r": 202,
    "g": 227,
    "b": 56
  },
  "hsl": {
    "h": 68.772,
    "s": 75.33,
    "l": 55.49
  },
  "oklch": {
    "l": 0.86856,
    "c": 0.18554,
    "h": 117.9
  },
  "luminance": 0.6778
}

Semantic roles & 50–950 ramp

primary
#CAE338
secondary
#3C2D92
accent
#36F251
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#16160A
muted
#84847D

Preview Lab

Preview with #CAE338

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

Preview Lab → · Contrast checker → · Palette generator →

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