#CAAA3B#CAAA3B

#CAAA3B is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.7% C 0.131 H 92.5°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#CAAA3B
RGBrgb(202, 170, 59)
HSLhsl(47, 57%, 51%)
HSVhsv(47, 71%, 79%)
CMYKcmyk(0%, 15.8%, 70.8%, 20.8%)
CIE-LABlab(70.61, -0.12, 58.83)
CIE-LCHlch(70.61, 58.83, 90.12°)
OKLaboklab(74.67% -0.0058 0.1311)
OKLCHoklch(74.67% 0.131 92.5)
XYZxyz(39.5234, 41.6240, 10.0893)
Luminance0.4162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAA3B #3B5BCA
analogous
#CA623B #CAAA3B #A3CA3B
triadic
#CAAA3B #3BCAAA #AA3BCA
tetradic
#CAAA3B #3BCA62 #3B5BCA #CA3BA3
square
#CAAA3B #3BCA62 #3B5BCA #CA3BA3
split-complementary
#CAAA3B #3BA3CA #623BCA
monochromatic
#6D5B1E #9D842B #CAAA3B #D7BF6B #E4D49B

Accessibility & contrast

On white

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

On black

9.32
#CAAA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAA3B
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAA3B#FFFFFF#000000##000000
##CAAA3B1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72B
Deuteranopia (green-blind)
#C4B141
Tritanopia (blue-blind)
#DA9C94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #caaa3b;
/* rgb */ color: rgb(202, 170, 59);
/* oklch */ color: oklch(74.7% 0.131 92.5);
Tailwind
colors: {
  custom: {
    50: '#dec277',
    500: '#caaa3b',
    950: '#000000',
  },
}
SCSS
$custom: #caaa3b;
$custom-light: #dec277;
$custom-dark: #000000;
JSON
{
  "hex": "#caaa3b",
  "rgb": {
    "r": 202,
    "g": 170,
    "b": 59
  },
  "hsl": {
    "h": 46.573,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74669,
    "c": 0.13127,
    "h": 92.5
  },
  "luminance": 0.41622
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAAA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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