#CAA738#CAA738

#CAA738 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 74.0% C 0.131 H 90.9°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#CAA738
RGBrgb(202, 167, 56)
HSLhsl(46, 58%, 51%)
HSVhsv(46, 72%, 79%)
CMYKcmyk(0%, 17.3%, 72.3%, 20.8%)
CIE-LABlab(69.81, 1.32, 59.23)
CIE-LCHlch(69.81, 59.24, 88.72°)
OKLaboklab(74.03% -0.002 0.1314)
OKLCHoklch(74.03% 0.131 90.9)
XYZxyz(38.8918, 40.4819, 9.5059)
Luminance0.4048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA738 #385BCA
analogous
#CA5E38 #CAA738 #A4CA38
triadic
#CAA738 #38CAA7 #A738CA
tetradic
#CAA738 #38CA5E #385BCA #CA38A4
square
#CAA738 #38CA5E #385BCA #CA38A4
split-complementary
#CAA738 #38A4CA #5E38CA
monochromatic
#6B581D #9B8029 #CAA738 #D7BC68 #E4D299

Accessibility & contrast

On white

2.31
#CAA738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#CAA738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA738
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA738#FFFFFF#000000##000000
##CAA7381.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA527
Deuteranopia (green-blind)
#C2AF3E
Tritanopia (blue-blind)
#DB9991
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #caa738;
/* rgb */ color: rgb(202, 167, 56);
/* oklch */ color: oklch(74.0% 0.131 90.9);
Tailwind
colors: {
  custom: {
    50: '#dec075',
    500: '#caa738',
    950: '#000000',
  },
}
SCSS
$custom: #caa738;
$custom-light: #dec075;
$custom-dark: #000000;
JSON
{
  "hex": "#caa738",
  "rgb": {
    "r": 202,
    "g": 167,
    "b": 56
  },
  "hsl": {
    "h": 45.616,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74031,
    "c": 0.13145,
    "h": 90.9
  },
  "luminance": 0.4048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAA738

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

Preview Lab → · Contrast checker → · Palette generator →

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