#C5A839#C5A839

#C5A839 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.7% C 0.130 H 94.1°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#C5A839
RGBrgb(197, 168, 57)
HSLhsl(48, 55%, 50%)
HSVhsv(48, 71%, 77%)
CMYKcmyk(0%, 14.7%, 71.1%, 22.7%)
CIE-LABlab(69.59, -1.34, 58.45)
CIE-LCHlch(69.59, 58.47, 91.31°)
OKLaboklab(73.75% -0.0093 0.1302)
OKLCHoklch(73.75% 0.13 94.1)
XYZxyz(37.7691, 40.1731, 9.6349)
Luminance0.4017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A839 #3956C5
analogous
#C56239 #C5A839 #9CC539
triadic
#C5A839 #39C5A8 #A839C5
tetradic
#C5A839 #39C562 #3956C5 #C5399C
square
#C5A839 #39C562 #3956C5 #C5399C
split-complementary
#C5A839 #399CC5 #6239C5
monochromatic
#66571E #96802B #C5A839 #D3BD68 #E1D297

Accessibility & contrast

On white

2.32
#C5A839 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#C5A839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A839
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A839#FFFFFF#000000##000000
##C5A8391.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA529
Deuteranopia (green-blind)
#C1AE3F
Tritanopia (blue-blind)
#D59B92
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c5a839;
/* rgb */ color: rgb(197, 168, 57);
/* oklch */ color: oklch(73.7% 0.130 94.1);
Tailwind
colors: {
  custom: {
    50: '#dac176',
    500: '#c5a839',
    950: '#000000',
  },
}
SCSS
$custom: #c5a839;
$custom-light: #dac176;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a839",
  "rgb": {
    "r": 197,
    "g": 168,
    "b": 57
  },
  "hsl": {
    "h": 47.571,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73748,
    "c": 0.13049,
    "h": 94.1
  },
  "luminance": 0.40171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5A839

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

Preview Lab → · Contrast checker → · Palette generator →

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