#CAA62E#CAA62E

#CAA62E is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.8% C 0.137 H 91.2°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#CAA62E
RGBrgb(202, 166, 46)
HSLhsl(46, 63%, 49%)
HSVhsv(46, 77%, 79%)
CMYKcmyk(0%, 17.8%, 77.2%, 20.8%)
CIE-LABlab(69.49, 1.42, 62.65)
CIE-LCHlch(69.49, 62.67, 88.70°)
OKLaboklab(73.76% -0.0028 0.1367)
OKLCHoklch(73.76% 0.137 91.2)
XYZxyz(38.4887, 40.0287, 8.2833)
Luminance0.4003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA62E #2E52CA
analogous
#CA582E #CAA62E #A0CA2E
triadic
#CAA62E #2ECAA6 #A62ECA
tetradic
#CAA62E #2ECA58 #2E52CA #CA2EA0
square
#CAA62E #2ECA58 #2E52CA #CA2EA0
split-complementary
#CAA62E #2EA0CA #582ECA
monochromatic
#665417 #987D23 #CAA62E #DABD5B #E5D18D

Accessibility & contrast

On white

2.33
#CAA62E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#CAA62E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA62E
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA62E#FFFFFF#000000##000000
##CAA62E1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A416
Deuteranopia (green-blind)
#C2AE35
Tritanopia (blue-blind)
#DB988F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #caa62e;
/* rgb */ color: rgb(202, 166, 46);
/* oklch */ color: oklch(73.8% 0.137 91.2);
Tailwind
colors: {
  custom: {
    50: '#dfc070',
    500: '#caa62e',
    950: '#000000',
  },
}
SCSS
$custom: #caa62e;
$custom-light: #dfc070;
$custom-dark: #000000;
JSON
{
  "hex": "#caa62e",
  "rgb": {
    "r": 202,
    "g": 166,
    "b": 46
  },
  "hsl": {
    "h": 46.154,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73758,
    "c": 0.13676,
    "h": 91.2
  },
  "luminance": 0.40026
}

Semantic roles & 50–950 ramp

primary
#CAA62E
secondary
#8496CF
accent
#68E642
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #CAA62E

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

Preview Lab → · Contrast checker → · Palette generator →

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