#C5A439#C5A439

#C5A439 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.9% C 0.128 H 91.4°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#C5A439
RGBrgb(197, 164, 57)
HSLhsl(46, 55%, 50%)
HSVhsv(46, 71%, 77%)
CMYKcmyk(0%, 16.8%, 71.1%, 22.7%)
CIE-LABlab(68.55, 0.79, 57.40)
CIE-LCHlch(68.55, 57.41, 89.21°)
OKLaboklab(72.92% -0.0031 0.1279)
OKLCHoklch(72.92% 0.128 91.4)
XYZxyz(37.0419, 38.7188, 9.3925)
Luminance0.3872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A439 #395AC5
analogous
#C55E39 #C5A439 #A0C539
triadic
#C5A439 #39C5A4 #A439C5
tetradic
#C5A439 #39C55E #395AC5 #C539A0
square
#C5A439 #39C55E #395AC5 #C539A0
split-complementary
#C5A439 #39A0C5 #5E39C5
monochromatic
#66551E #967C2B #C5A439 #D3BA68 #E1D097

Accessibility & contrast

On white

2.40
#C5A439 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#C5A439 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A439
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A439#FFFFFF#000000##000000
##C5A4391.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A22A
Deuteranopia (green-blind)
#BEAB3F
Tritanopia (blue-blind)
#D5978E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c5a439;
/* rgb */ color: rgb(197, 164, 57);
/* oklch */ color: oklch(72.9% 0.128 91.4);
Tailwind
colors: {
  custom: {
    50: '#dabe76',
    500: '#c5a439',
    950: '#000000',
  },
}
SCSS
$custom: #c5a439;
$custom-light: #dabe76;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a439",
  "rgb": {
    "r": 197,
    "g": 164,
    "b": 57
  },
  "hsl": {
    "h": 45.857,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.72922,
    "c": 0.12798,
    "h": 91.4
  },
  "luminance": 0.38717
}

Semantic roles & 50–950 ramp

primary
#C5A439
secondary
#8D9CCD
accent
#6CDE49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5A439

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

Preview Lab → · Contrast checker → · Palette generator →

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