#CAAA3C#CAAA3C

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

Color values

HEX#CAAA3C
RGBrgb(202, 170, 60)
HSLhsl(46, 57%, 51%)
HSVhsv(46, 70%, 79%)
CMYKcmyk(0%, 15.8%, 70.3%, 20.8%)
CIE-LABlab(70.62, -0.07, 58.43)
CIE-LCHlch(70.62, 58.43, 90.07°)
OKLaboklab(74.68% -0.0056 0.1305)
OKLCHoklch(74.68% 0.131 92.4)
XYZxyz(39.5495, 41.6345, 10.2272)
Luminance0.4163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAA3C #3C5CCA
analogous
#CA633C #CAAA3C #A3CA3C
triadic
#CAAA3C #3CCAAA #AA3CCA
tetradic
#CAAA3C #3CCA63 #3C5CCA #CA3CA3
square
#CAAA3C #3CCA63 #3C5CCA #CA3CA3
split-complementary
#CAAA3C #3CA3CA #633CCA
monochromatic
#6E5C1E #9E842B #CAAA3C #D7BF6C #E4D49C

Accessibility & contrast

On white

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

On black

9.33
#CAAA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAA3C
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAA3C#FFFFFF#000000##000000
##CAAA3C1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caaa3c;
/* rgb */ color: rgb(202, 170, 60);
/* oklch */ color: oklch(74.7% 0.131 92.4);
Tailwind
colors: {
  custom: {
    50: '#dec278',
    500: '#caaa3c',
    950: '#000000',
  },
}
SCSS
$custom: #caaa3c;
$custom-light: #dec278;
$custom-dark: #000000;
JSON
{
  "hex": "#caaa3c",
  "rgb": {
    "r": 202,
    "g": 170,
    "b": 60
  },
  "hsl": {
    "h": 46.479,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74677,
    "c": 0.1306,
    "h": 92.4
  },
  "luminance": 0.41632
}

Semantic roles & 50–950 ramp

primary
#CAAA3C
secondary
#92A0D0
accent
#6AE147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CAAA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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