#CA9E15#CA9E15

#CA9E15 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 72.0% C 0.143 H 87.9°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#CA9E15
RGBrgb(202, 158, 21)
HSLhsl(45, 81%, 44%)
HSVhsv(45, 90%, 79%)
CMYKcmyk(0%, 21.8%, 89.6%, 20.8%)
CIE-LABlab(67.33, 5.00, 67.86)
CIE-LCHlch(67.33, 68.04, 85.79°)
OKLaboklab(72.02% 0.0053 0.143)
OKLCHoklch(72.02% 0.143 87.9)
XYZxyz(36.7218, 37.0671, 5.9299)
Luminance0.3706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9E15 #1541CA
analogous
#CA4315 #CA9E15 #9BCA15
triadic
#CA9E15 #15CA9E #9E15CA
tetradic
#CA9E15 #15CA43 #1541CA #CA159B
square
#CA9E15 #15CA43 #1541CA #CA159B
split-complementary
#CA9E15 #159BCA #4315CA
monochromatic
#5B4709 #93730F #CA9E15 #EABD32 #EFCF6A

Accessibility & contrast

On white

2.50
#CA9E15 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#CA9E15 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9E15
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9E15#FFFFFF#000000##000000
##CA9E151.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#BDA921
Tritanopia (blue-blind)
#DC8F87
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca9e15;
/* rgb */ color: rgb(202, 158, 21);
/* oklch */ color: oklch(72.0% 0.143 87.9);
Tailwind
colors: {
  custom: {
    50: '#e0ba65',
    500: '#ca9e15',
    950: '#000000',
  },
}
SCSS
$custom: #ca9e15;
$custom-light: #e0ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9e15",
  "rgb": {
    "r": 202,
    "g": 158,
    "b": 21
  },
  "hsl": {
    "h": 45.414,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72021,
    "c": 0.14308,
    "h": 87.9
  },
  "luminance": 0.37064
}

Semantic roles & 50–950 ramp

primary
#CA9E15
secondary
#6681D5
accent
#61F830
background
#FEFBF6
surface
#FDF6EB
border
#D5D0C6
text
#161106
muted
#84807A

Preview Lab

Preview with #CA9E15

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

Preview Lab → · Contrast checker → · Palette generator →

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