#CAAB3B#CAAB3B

#CAAB3B is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.9% C 0.132 H 93.2°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#CAAB3B
RGBrgb(202, 171, 59)
HSLhsl(47, 57%, 51%)
HSVhsv(47, 71%, 79%)
CMYKcmyk(0%, 15.3%, 70.8%, 20.8%)
CIE-LABlab(70.87, -0.65, 59.09)
CIE-LCHlch(70.87, 59.09, 90.63°)
OKLaboklab(74.88% -0.0074 0.1317)
OKLCHoklch(74.88% 0.132 93.2)
XYZxyz(39.7115, 42.0004, 10.1520)
Luminance0.4200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAB3B #3B5ACA
analogous
#CA633B #CAAB3B #A1CA3B
triadic
#CAAB3B #3BCAAB #AB3BCA
tetradic
#CAAB3B #3BCA63 #3B5ACA #CA3BA1
square
#CAAB3B #3BCA63 #3B5ACA #CA3BA1
split-complementary
#CAAB3B #3BA1CA #633BCA
monochromatic
#6D5C1E #9D842B #CAAB3B #D7C06B #E4D49B

Accessibility & contrast

On white

2.23
#CAAB3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#CAAB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAB3B
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAB3B#FFFFFF#000000##000000
##CAAB3B1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA82B
Deuteranopia (green-blind)
#C5B141
Tritanopia (blue-blind)
#DA9D94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #caab3b;
/* rgb */ color: rgb(202, 171, 59);
/* oklch */ color: oklch(74.9% 0.132 93.2);
Tailwind
colors: {
  custom: {
    50: '#dec378',
    500: '#caab3b',
    950: '#000000',
  },
}
SCSS
$custom: #caab3b;
$custom-light: #dec378;
$custom-dark: #000000;
JSON
{
  "hex": "#caab3b",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 59
  },
  "hsl": {
    "h": 46.993,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74875,
    "c": 0.1319,
    "h": 93.2
  },
  "luminance": 0.41998
}

Semantic roles & 50–950 ramp

primary
#CAAB3B
secondary
#919FD0
accent
#68E147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CAAB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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