#CAAA46#CAAA46

#CAAA46 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.8% C 0.123 H 91.3°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#CAAA46
RGBrgb(202, 170, 70)
HSLhsl(45, 55%, 53%)
HSVhsv(45, 65%, 79%)
CMYKcmyk(0%, 15.8%, 65.3%, 20.8%)
CIE-LABlab(70.70, 0.49, 54.25)
CIE-LCHlch(70.70, 54.25, 89.48°)
OKLaboklab(74.77% -0.0028 0.1233)
OKLCHoklch(74.77% 0.123 91.3)
XYZxyz(39.8393, 41.7504, 11.7534)
Luminance0.4175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAA46 #4666CA
analogous
#CA6846 #CAAA46 #A8CA46
triadic
#CAAA46 #46CAAA #AA46CA
tetradic
#CAAA46 #46CA68 #4666CA #CA46A8
square
#CAAA46 #46CA68 #4666CA #CA46A8
split-complementary
#CAAA46 #46A8CA #6846CA
monochromatic
#746021 #A4882F #CAAA46 #D8C076 #E5D6A5

Accessibility & contrast

On white

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

On black

9.35
#CAAA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAA46
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAA46#FFFFFF#000000##000000
##CAAA461.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caaa46;
/* rgb */ color: rgb(202, 170, 70);
/* oklch */ color: oklch(74.8% 0.123 91.3);
Tailwind
colors: {
  custom: {
    50: '#dec37e',
    500: '#caaa46',
    950: '#000000',
  },
}
SCSS
$custom: #caaa46;
$custom-light: #dec37e;
$custom-dark: #000000;
JSON
{
  "hex": "#caaa46",
  "rgb": {
    "r": 202,
    "g": 170,
    "b": 70
  },
  "hsl": {
    "h": 45.455,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.74766,
    "c": 0.12334,
    "h": 91.3
  },
  "luminance": 0.41748
}

Semantic roles & 50–950 ramp

primary
#CAAA46
secondary
#9AA7D2
accent
#6DDF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CAAA46

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

Preview Lab → · Contrast checker → · Palette generator →

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