#C5A33A#C5A33A

#C5A33A is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.7% C 0.127 H 90.6°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#C5A33A
RGBrgb(197, 163, 58)
HSLhsl(45, 55%, 50%)
HSVhsv(45, 71%, 77%)
CMYKcmyk(0%, 17.3%, 70.6%, 22.7%)
CIE-LABlab(68.29, 1.38, 56.74)
CIE-LCHlch(68.29, 56.75, 88.61°)
OKLaboklab(72.72% -0.0013 0.1267)
OKLCHoklch(72.72% 0.127 90.6)
XYZxyz(36.8889, 38.3724, 9.4658)
Luminance0.3837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A33A #3A5CC5
analogous
#C55E3A #C5A33A #A1C53A
triadic
#C5A33A #3AC5A3 #A33AC5
tetradic
#C5A33A #3AC55E #3A5CC5 #C53AA1
square
#C5A33A #3AC55E #3A5CC5 #C53AA1
split-complementary
#C5A33A #3AA1C5 #5E3AC5
monochromatic
#66551E #967C2C #C5A33A #D3B969 #E1CF99

Accessibility & contrast

On white

2.42
#C5A33A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#C5A33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A33A
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A33A#FFFFFF#000000##000000
##C5A33A1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A12C
Deuteranopia (green-blind)
#BDAB3F
Tritanopia (blue-blind)
#D5968E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c5a33a;
/* rgb */ color: rgb(197, 163, 58);
/* oklch */ color: oklch(72.7% 0.127 90.6);
Tailwind
colors: {
  custom: {
    50: '#dabd76',
    500: '#c5a33a',
    950: '#000000',
  },
}
SCSS
$custom: #c5a33a;
$custom-light: #dabd76;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a33a",
  "rgb": {
    "r": 197,
    "g": 163,
    "b": 58
  },
  "hsl": {
    "h": 45.324,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.72725,
    "c": 0.12673,
    "h": 90.6
  },
  "luminance": 0.3837
}

Semantic roles & 50–950 ramp

primary
#C5A33A
secondary
#8E9DCD
accent
#6EDE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5A33A

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

Preview Lab → · Contrast checker → · Palette generator →

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