#CAAB19#CAAB19

#CAAB19 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.7% C 0.148 H 95.4°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#CAAB19
RGBrgb(202, 171, 25)
HSLhsl(49, 78%, 45%)
HSVhsv(49, 88%, 79%)
CMYKcmyk(0%, 15.3%, 87.6%, 20.8%)
CIE-LABlab(70.70, -1.86, 69.67)
CIE-LCHlch(70.70, 69.70, 91.53°)
OKLaboklab(74.69% -0.0139 0.1478)
OKLCHoklch(74.69% 0.148 95.4)
XYZxyz(39.0978, 41.7549, 6.9197)
Luminance0.4175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAB19 #1938CA
analogous
#CA5319 #CAAB19 #90CA19
triadic
#CAAB19 #19CAAB #AB19CA
tetradic
#CAAB19 #19CA53 #1938CA #CA1990
square
#CAAB19 #19CA53 #1938CA #CA1990
split-complementary
#CAAB19 #1990CA #5319CA
monochromatic
#5D4F0C #947D12 #CAAB19 #E7C83A #EDD770

Accessibility & contrast

On white

2.25
#CAAB19 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#CAAB19 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAB19
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAB19#FFFFFF#000000##000000
##CAAB191.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#C6B127
Tritanopia (blue-blind)
#DB9C92
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #caab19;
/* rgb */ color: rgb(202, 171, 25);
/* oklch */ color: oklch(74.7% 0.148 95.4);
Tailwind
colors: {
  custom: {
    50: '#dfc368',
    500: '#caab19',
    950: '#000000',
  },
}
SCSS
$custom: #caab19;
$custom-light: #dfc368;
$custom-dark: #000000;
JSON
{
  "hex": "#caab19",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 25
  },
  "hsl": {
    "h": 49.492,
    "s": 77.974,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74687,
    "c": 0.14846,
    "h": 95.4
  },
  "luminance": 0.41753
}

Semantic roles & 50–950 ramp

primary
#CAAB19
secondary
#6B7DD4
accent
#55F433
background
#FEFBF6
surface
#FDF7EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #CAAB19

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

Preview Lab → · Contrast checker → · Palette generator →

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