#CAAA3F#CAAA3F

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

Color values

HEX#CAAA3F
RGBrgb(202, 170, 63)
HSLhsl(46, 57%, 52%)
HSVhsv(46, 69%, 79%)
CMYKcmyk(0%, 15.8%, 68.8%, 20.8%)
CIE-LABlab(70.64, 0.09, 57.21)
CIE-LCHlch(70.64, 57.21, 89.91°)
OKLaboklab(74.7% -0.0048 0.1284)
OKLCHoklch(74.7% 0.129 92.1)
XYZxyz(39.6311, 41.6671, 10.6568)
Luminance0.4167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAA3F #3F5FCA
analogous
#CA653F #CAAA3F #A5CA3F
triadic
#CAAA3F #3FCAAA #AA3FCA
tetradic
#CAAA3F #3FCA65 #3F5FCA #CA3FA5
square
#CAAA3F #3FCA65 #3F5FCA #CA3FA5
split-complementary
#CAAA3F #3FA5CA #653FCA
monochromatic
#705D1F #A0852C #CAAA3F #D7BF6F #E4D49F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAAA3F#FFFFFF#000000##000000
##CAAA3F1.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)
#BCA731
Deuteranopia (green-blind)
#C4B144
Tritanopia (blue-blind)
#DA9D94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #caaa3f;
/* rgb */ color: rgb(202, 170, 63);
/* oklch */ color: oklch(74.7% 0.129 92.1);
Tailwind
colors: {
  custom: {
    50: '#dec27a',
    500: '#caaa3f',
    950: '#000000',
  },
}
SCSS
$custom: #caaa3f;
$custom-light: #dec27a;
$custom-dark: #000000;
JSON
{
  "hex": "#caaa3f",
  "rgb": {
    "r": 202,
    "g": 170,
    "b": 63
  },
  "hsl": {
    "h": 46.187,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74702,
    "c": 0.12852,
    "h": 92.1
  },
  "luminance": 0.41665
}

Semantic roles & 50–950 ramp

primary
#CAAA3F
secondary
#94A2D1
accent
#6BE048
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CAAA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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