#CAA83E#CAA83E

#CAA83E is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.3% C 0.128 H 90.9°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#CAA83E
RGBrgb(202, 168, 62)
HSLhsl(45, 57%, 52%)
HSVhsv(45, 69%, 79%)
CMYKcmyk(0%, 16.8%, 69.3%, 20.8%)
CIE-LABlab(70.11, 1.10, 57.09)
CIE-LCHlch(70.11, 57.10, 88.90°)
OKLaboklab(74.28% -0.002 0.128)
OKLCHoklch(74.28% 0.128 90.9)
XYZxyz(39.2313, 40.9119, 10.3869)
Luminance0.4091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA83E #3E60CA
analogous
#CA623E #CAA83E #A6CA3E
triadic
#CAA83E #3ECAA8 #A83ECA
tetradic
#CAA83E #3ECA62 #3E60CA #CA3EA6
square
#CAA83E #3ECA62 #3E60CA #CA3EA6
split-complementary
#CAA83E #3EA6CA #623ECA
monochromatic
#6F5C1F #9F832C #CAA83E #D7BE6E #E4D39E

Accessibility & contrast

On white

2.29
#CAA83E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#CAA83E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA83E
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA83E#FFFFFF#000000##000000
##CAA83E1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA630
Deuteranopia (green-blind)
#C3AF43
Tritanopia (blue-blind)
#DA9A92
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #caa83e;
/* rgb */ color: rgb(202, 168, 62);
/* oklch */ color: oklch(74.3% 0.128 90.9);
Tailwind
colors: {
  custom: {
    50: '#dec179',
    500: '#caa83e',
    950: '#000000',
  },
}
SCSS
$custom: #caa83e;
$custom-light: #dec179;
$custom-dark: #000000;
JSON
{
  "hex": "#caa83e",
  "rgb": {
    "r": 202,
    "g": 168,
    "b": 62
  },
  "hsl": {
    "h": 45.429,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74284,
    "c": 0.12802,
    "h": 90.9
  },
  "luminance": 0.4091
}

Semantic roles & 50–950 ramp

primary
#CAA83E
secondary
#93A2D1
accent
#6DE048
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CAA83E

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

Preview Lab → · Contrast checker → · Palette generator →

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