#CAA638#CAA638

#CAA638 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.8% C 0.131 H 90.2°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#CAA638
RGBrgb(202, 166, 56)
HSLhsl(45, 58%, 51%)
HSVhsv(45, 72%, 79%)
CMYKcmyk(0%, 17.8%, 72.3%, 20.8%)
CIE-LABlab(69.55, 1.86, 58.97)
CIE-LCHlch(69.55, 59.00, 88.19°)
OKLaboklab(73.83% -0.0005 0.1309)
OKLCHoklch(73.83% 0.131 90.2)
XYZxyz(38.7093, 40.1169, 9.4451)
Luminance0.4012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA638 #385CCA
analogous
#CA5D38 #CAA638 #A5CA38
triadic
#CAA638 #38CAA6 #A638CA
tetradic
#CAA638 #38CA5D #385CCA #CA38A5
square
#CAA638 #38CA5D #385CCA #CA38A5
split-complementary
#CAA638 #38A5CA #5D38CA
monochromatic
#6B581D #9B7F29 #CAA638 #D7BC68 #E4D199

Accessibility & contrast

On white

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

On black

9.02
#CAA638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA638
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA638#FFFFFF#000000##000000
##CAA6381.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A428
Deuteranopia (green-blind)
#C1AE3E
Tritanopia (blue-blind)
#DB9890
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #caa638;
/* rgb */ color: rgb(202, 166, 56);
/* oklch */ color: oklch(73.8% 0.131 90.2);
Tailwind
colors: {
  custom: {
    50: '#dec075',
    500: '#caa638',
    950: '#000000',
  },
}
SCSS
$custom: #caa638;
$custom-light: #dec075;
$custom-dark: #000000;
JSON
{
  "hex": "#caa638",
  "rgb": {
    "r": 202,
    "g": 166,
    "b": 56
  },
  "hsl": {
    "h": 45.205,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73827,
    "c": 0.13089,
    "h": 90.2
  },
  "luminance": 0.40115
}

Semantic roles & 50–950 ramp

primary
#CAA638
secondary
#8E9ECF
accent
#6DE147
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CAA638

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

Preview Lab → · Contrast checker → · Palette generator →

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