#C5AA38#C5AA38

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

Color values

HEX#C5AA38
RGBrgb(197, 170, 56)
HSLhsl(49, 56%, 50%)
HSVhsv(49, 72%, 77%)
CMYKcmyk(0%, 13.7%, 71.6%, 22.7%)
CIE-LABlab(70.11, -2.45, 59.36)
CIE-LCHlch(70.11, 59.41, 92.36°)
OKLaboklab(74.16% -0.0125 0.1319)
OKLCHoklch(74.16% 0.133 95.4)
XYZxyz(38.1164, 40.9073, 9.6288)
Luminance0.4091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AA38 #3853C5
analogous
#C56438 #C5AA38 #99C538
triadic
#C5AA38 #38C5AA #AA38C5
tetradic
#C5AA38 #38C564 #3853C5 #C53899
square
#C5AA38 #38C564 #3853C5 #C53899
split-complementary
#C5AA38 #3899C5 #6438C5
monochromatic
#66581D #95812A #C5AA38 #D4BF67 #E1D396

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5AA38#FFFFFF#000000##000000
##C5AA381.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)
#BCA727
Deuteranopia (green-blind)
#C2AF3F
Tritanopia (blue-blind)
#D59D93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c5aa38;
/* rgb */ color: rgb(197, 170, 56);
/* oklch */ color: oklch(74.2% 0.133 95.4);
Tailwind
colors: {
  custom: {
    50: '#dac276',
    500: '#c5aa38',
    950: '#000000',
  },
}
SCSS
$custom: #c5aa38;
$custom-light: #dac276;
$custom-dark: #000000;
JSON
{
  "hex": "#c5aa38",
  "rgb": {
    "r": 197,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 48.511,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74156,
    "c": 0.1325,
    "h": 95.4
  },
  "luminance": 0.40905
}

Semantic roles & 50–950 ramp

primary
#C5AA38
secondary
#8C99CD
accent
#66DF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AA38

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

Preview Lab → · Contrast checker → · Palette generator →

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