#CAAA40#CAAA40

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

Color values

HEX#CAAA40
RGBrgb(202, 170, 64)
HSLhsl(46, 57%, 52%)
HSVhsv(46, 68%, 79%)
CMYKcmyk(0%, 15.8%, 68.3%, 20.8%)
CIE-LABlab(70.65, 0.14, 56.80)
CIE-LCHlch(70.65, 56.80, 89.86°)
OKLaboklab(74.71% -0.0045 0.1277)
OKLCHoklch(74.71% 0.128 92)
XYZxyz(39.6593, 41.6784, 10.8053)
Luminance0.4168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAA40 #4060CA
analogous
#CA6540 #CAAA40 #A5CA40
triadic
#CAAA40 #40CAAA #AA40CA
tetradic
#CAAA40 #40CA65 #4060CA #CA40A5
square
#CAAA40 #40CA65 #4060CA #CA40A5
split-complementary
#CAAA40 #40A5CA #6540CA
monochromatic
#705E1F #A0852C #CAAA40 #D7BF70 #E5D5A0

Accessibility & contrast

On white

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

On black

9.34
#CAAA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAA40
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAA40#FFFFFF#000000##000000
##CAAA401.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA732
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#DA9D94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #caaa40;
/* rgb */ color: rgb(202, 170, 64);
/* oklch */ color: oklch(74.7% 0.128 92.0);
Tailwind
colors: {
  custom: {
    50: '#dec37a',
    500: '#caaa40',
    950: '#000000',
  },
}
SCSS
$custom: #caaa40;
$custom-light: #dec37a;
$custom-dark: #000000;
JSON
{
  "hex": "#caaa40",
  "rgb": {
    "r": 202,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 46.087,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74711,
    "c": 0.12781,
    "h": 92
  },
  "luminance": 0.41676
}

Semantic roles & 50–950 ramp

primary
#CAAA40
secondary
#95A3D1
accent
#6BE048
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CAAA40

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

Preview Lab → · Contrast checker → · Palette generator →

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