#CA9F15#CA9F15

#CA9F15 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 72.2% C 0.143 H 88.5°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#CA9F15
RGBrgb(202, 159, 21)
HSLhsl(46, 81%, 44%)
HSVhsv(46, 90%, 79%)
CMYKcmyk(0%, 21.3%, 89.6%, 20.8%)
CIE-LABlab(67.58, 4.46, 68.06)
CIE-LCHlch(67.58, 68.20, 86.25°)
OKLaboklab(72.22% 0.0038 0.1434)
OKLCHoklch(72.22% 0.143 88.5)
XYZxyz(36.8931, 37.4096, 5.9870)
Luminance0.3741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9F15 #1540CA
analogous
#CA4415 #CA9F15 #9ACA15
triadic
#CA9F15 #15CA9F #9F15CA
tetradic
#CA9F15 #15CA44 #1540CA #CA159A
square
#CA9F15 #15CA44 #1540CA #CA159A
split-complementary
#CA9F15 #159ACA #4415CA
monochromatic
#5B4809 #93730F #CA9F15 #EABE32 #EFD06A

Accessibility & contrast

On white

2.48
#CA9F15 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#CA9F15 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9F15
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9F15#FFFFFF#000000##000000
##CA9F151.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#BEA921
Tritanopia (blue-blind)
#DC9088
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca9f15;
/* rgb */ color: rgb(202, 159, 21);
/* oklch */ color: oklch(72.2% 0.143 88.5);
Tailwind
colors: {
  custom: {
    50: '#e0ba65',
    500: '#ca9f15',
    950: '#000000',
  },
}
SCSS
$custom: #ca9f15;
$custom-light: #e0ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9f15",
  "rgb": {
    "r": 202,
    "g": 159,
    "b": 21
  },
  "hsl": {
    "h": 45.746,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72222,
    "c": 0.14348,
    "h": 88.5
  },
  "luminance": 0.37407
}

Semantic roles & 50–950 ramp

primary
#CA9F15
secondary
#6680D5
accent
#60F830
background
#FEFBF6
surface
#FDF6EB
border
#D5D0C6
text
#161106
muted
#84807A

Preview Lab

Preview with #CA9F15

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

Preview Lab → · Contrast checker → · Palette generator →

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