#C5A339#C5A339

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

Color values

HEX#C5A339
RGBrgb(197, 163, 57)
HSLhsl(45, 55%, 50%)
HSVhsv(45, 71%, 77%)
CMYKcmyk(0%, 17.3%, 71.1%, 22.7%)
CIE-LABlab(68.29, 1.33, 57.14)
CIE-LCHlch(68.29, 57.15, 88.67°)
OKLaboklab(72.72% -0.0016 0.1274)
OKLCHoklch(72.72% 0.127 90.7)
XYZxyz(36.8637, 38.3623, 9.3331)
Luminance0.3836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A339 #395BC5
analogous
#C55D39 #C5A339 #A1C539
triadic
#C5A339 #39C5A3 #A339C5
tetradic
#C5A339 #39C55D #395BC5 #C539A1
square
#C5A339 #39C55D #395BC5 #C539A1
split-complementary
#C5A339 #39A1C5 #5D39C5
monochromatic
#66541E #967C2B #C5A339 #D3B968 #E1CF97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5A339#FFFFFF#000000##000000
##C5A3391.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)
#B5A12A
Deuteranopia (green-blind)
#BDAB3E
Tritanopia (blue-blind)
#D5968D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c5a339;
/* rgb */ color: rgb(197, 163, 57);
/* oklch */ color: oklch(72.7% 0.127 90.7);
Tailwind
colors: {
  custom: {
    50: '#dabd76',
    500: '#c5a339',
    950: '#000000',
  },
}
SCSS
$custom: #c5a339;
$custom-light: #dabd76;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a339",
  "rgb": {
    "r": 197,
    "g": 163,
    "b": 57
  },
  "hsl": {
    "h": 45.429,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.72717,
    "c": 0.1274,
    "h": 90.7
  },
  "luminance": 0.3836
}

Semantic roles & 50–950 ramp

primary
#C5A339
secondary
#8D9DCD
accent
#6EDE49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5A339

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

Preview Lab → · Contrast checker → · Palette generator →

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