#CAAA4A#CAAA4A

#CAAA4A is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.8% C 0.120 H 90.7°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#CAAA4A
RGBrgb(202, 170, 74)
HSLhsl(45, 55%, 54%)
HSVhsv(45, 63%, 79%)
CMYKcmyk(0%, 15.8%, 63.4%, 20.8%)
CIE-LABlab(70.73, 0.74, 52.49)
CIE-LCHlch(70.73, 52.50, 89.19°)
OKLaboklab(74.81% -0.0015 0.1202)
OKLCHoklch(74.81% 0.12 90.7)
XYZxyz(39.9698, 41.8026, 12.4407)
Luminance0.4180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAA4A #4A6ACA
analogous
#CA6A4A #CAAA4A #AACA4A
triadic
#CAAA4A #4ACAAA #AA4ACA
tetradic
#CAAA4A #4ACA6A #4A6ACA #CA4AAA
square
#CAAA4A #4ACA6A #4A6ACA #CA4AAA
split-complementary
#CAAA4A #4AAACA #6A4ACA
monochromatic
#776223 #A68931 #CAAA4A #D8C079 #E6D6A9

Accessibility & contrast

On white

2.24
#CAAA4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#CAAA4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAA4A
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAA4A#FFFFFF#000000##000000
##CAAA4A1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA83F
Deuteranopia (green-blind)
#C3B14E
Tritanopia (blue-blind)
#DA9D95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #caaa4a;
/* rgb */ color: rgb(202, 170, 74);
/* oklch */ color: oklch(74.8% 0.120 90.7);
Tailwind
colors: {
  custom: {
    50: '#ddc380',
    500: '#caaa4a',
    950: '#000000',
  },
}
SCSS
$custom: #caaa4a;
$custom-light: #ddc380;
$custom-dark: #000000;
JSON
{
  "hex": "#caaa4a",
  "rgb": {
    "r": 202,
    "g": 170,
    "b": 74
  },
  "hsl": {
    "h": 45,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.74806,
    "c": 0.12018,
    "h": 90.7
  },
  "luminance": 0.418
}

Semantic roles & 50–950 ramp

primary
#CAAA4A
secondary
#9DAAD3
accent
#6FDE4A
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120A
muted
#84817C

Preview Lab

Preview with #CAAA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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