#CAAB3E#CAAB3E

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

Color values

HEX#CAAB3E
RGBrgb(202, 171, 62)
HSLhsl(47, 57%, 52%)
HSVhsv(47, 69%, 79%)
CMYKcmyk(0%, 15.3%, 69.3%, 20.8%)
CIE-LABlab(70.89, -0.50, 57.89)
CIE-LCHlch(70.89, 57.89, 90.49°)
OKLaboklab(74.9% -0.0066 0.1297)
OKLCHoklch(74.9% 0.13 92.9)
XYZxyz(39.7916, 42.0324, 10.5737)
Luminance0.4203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAB3E #3E5DCA
analogous
#CA653E #CAAB3E #A3CA3E
triadic
#CAAB3E #3ECAAB #AB3ECA
tetradic
#CAAB3E #3ECA65 #3E5DCA #CA3EA3
square
#CAAB3E #3ECA65 #3E5DCA #CA3EA3
split-complementary
#CAAB3E #3EA3CA #653ECA
monochromatic
#6F5D1F #9F862C #CAAB3E #D7C06E #E4D59E

Accessibility & contrast

On white

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

On black

9.41
#CAAB3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAB3E
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAB3E#FFFFFF#000000##000000
##CAAB3E1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA82F
Deuteranopia (green-blind)
#C5B144
Tritanopia (blue-blind)
#DA9E95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #caab3e;
/* rgb */ color: rgb(202, 171, 62);
/* oklch */ color: oklch(74.9% 0.130 92.9);
Tailwind
colors: {
  custom: {
    50: '#dec379',
    500: '#caab3e',
    950: '#000000',
  },
}
SCSS
$custom: #caab3e;
$custom-light: #dec379;
$custom-dark: #000000;
JSON
{
  "hex": "#caab3e",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 62
  },
  "hsl": {
    "h": 46.714,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74899,
    "c": 0.12986,
    "h": 92.9
  },
  "luminance": 0.4203
}

Semantic roles & 50–950 ramp

primary
#CAAB3E
secondary
#93A1D1
accent
#69E048
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CAAB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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