#C5A939#C5A939

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

Color values

HEX#C5A939
RGBrgb(197, 169, 57)
HSLhsl(48, 55%, 50%)
HSVhsv(48, 71%, 77%)
CMYKcmyk(0%, 14.2%, 71.1%, 22.7%)
CIE-LABlab(69.86, -1.87, 58.71)
CIE-LCHlch(69.86, 58.74, 91.82°)
OKLaboklab(73.96% -0.0108 0.1307)
OKLCHoklch(73.96% 0.131 94.7)
XYZxyz(37.9544, 40.5437, 9.6967)
Luminance0.4054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A939 #3955C5
analogous
#C56339 #C5A939 #9BC539
triadic
#C5A939 #39C5A9 #A939C5
tetradic
#C5A939 #39C563 #3955C5 #C5399B
square
#C5A939 #39C563 #3955C5 #C5399B
split-complementary
#C5A939 #399BC5 #6339C5
monochromatic
#66581E #96802B #C5A939 #D3BE68 #E1D297

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5A939#FFFFFF#000000##000000
##C5A9391.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)
#BBA629
Deuteranopia (green-blind)
#C2AE3F
Tritanopia (blue-blind)
#D59C92
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c5a939;
/* rgb */ color: rgb(197, 169, 57);
/* oklch */ color: oklch(74.0% 0.131 94.7);
Tailwind
colors: {
  custom: {
    50: '#dac276',
    500: '#c5a939',
    950: '#000000',
  },
}
SCSS
$custom: #c5a939;
$custom-light: #dac276;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a939",
  "rgb": {
    "r": 197,
    "g": 169,
    "b": 57
  },
  "hsl": {
    "h": 48,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73956,
    "c": 0.13116,
    "h": 94.7
  },
  "luminance": 0.40542
}

Semantic roles & 50–950 ramp

primary
#C5A939
secondary
#8D9ACD
accent
#67DE49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5A939

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

Preview Lab → · Contrast checker → · Palette generator →

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