#C5A93A#C5A93A

#C5A93A is a light, vivid yellow. Relative luminance 0.406; OKLCH L 74.0% C 0.130 H 94.6°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#C5A93A
RGBrgb(197, 169, 58)
HSLhsl(48, 55%, 50%)
HSVhsv(48, 71%, 77%)
CMYKcmyk(0%, 14.2%, 70.6%, 22.7%)
CIE-LABlab(69.86, -1.82, 58.32)
CIE-LCHlch(69.86, 58.35, 91.79°)
OKLaboklab(73.96% -0.0105 0.1301)
OKLCHoklch(73.96% 0.13 94.6)
XYZxyz(37.9796, 40.5538, 9.8294)
Luminance0.4055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A93A #3A56C5
analogous
#C5643A #C5A93A #9BC53A
triadic
#C5A93A #3AC5A9 #A93AC5
tetradic
#C5A93A #3AC564 #3A56C5 #C53A9B
square
#C5A93A #3AC564 #3A56C5 #C53A9B
split-complementary
#C5A93A #3A9BC5 #643AC5
monochromatic
#66581E #96802C #C5A93A #D3BE69 #E1D299

Accessibility & contrast

On white

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

On black

9.11
#C5A93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A93A
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A93A#FFFFFF#000000##000000
##C5A93A1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62A
Deuteranopia (green-blind)
#C2AE40
Tritanopia (blue-blind)
#D59C93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c5a93a;
/* rgb */ color: rgb(197, 169, 58);
/* oklch */ color: oklch(74.0% 0.130 94.6);
Tailwind
colors: {
  custom: {
    50: '#dac277',
    500: '#c5a93a',
    950: '#000000',
  },
}
SCSS
$custom: #c5a93a;
$custom-light: #dac277;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a93a",
  "rgb": {
    "r": 197,
    "g": 169,
    "b": 58
  },
  "hsl": {
    "h": 47.914,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.73963,
    "c": 0.13049,
    "h": 94.6
  },
  "luminance": 0.40552
}

Semantic roles & 50–950 ramp

primary
#C5A93A
secondary
#8E9BCD
accent
#68DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5A93A

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

Preview Lab → · Contrast checker → · Palette generator →

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