#C5A239#C5A239

#C5A239 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.5% C 0.127 H 90.0°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#C5A239
RGBrgb(197, 162, 57)
HSLhsl(45, 55%, 50%)
HSVhsv(45, 71%, 77%)
CMYKcmyk(0%, 17.8%, 71.1%, 22.7%)
CIE-LABlab(68.03, 1.86, 56.88)
CIE-LCHlch(68.03, 56.91, 88.12°)
OKLaboklab(72.51% -0.0001 0.1268)
OKLCHoklch(72.51% 0.127 90)
XYZxyz(36.6868, 38.0086, 9.2742)
Luminance0.3801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A239 #395CC5
analogous
#C55C39 #C5A239 #A2C539
triadic
#C5A239 #39C5A2 #A239C5
tetradic
#C5A239 #39C55C #395CC5 #C539A2
square
#C5A239 #39C55C #395CC5 #C539A2
split-complementary
#C5A239 #39A2C5 #5C39C5
monochromatic
#66541E #967B2B #C5A239 #D3B868 #E1CF97

Accessibility & contrast

On white

2.44
#C5A239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#C5A239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A239
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A239#FFFFFF#000000##000000
##C5A2391.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A02A
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#D5958D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c5a239;
/* rgb */ color: rgb(197, 162, 57);
/* oklch */ color: oklch(72.5% 0.127 90.0);
Tailwind
colors: {
  custom: {
    50: '#dbbd76',
    500: '#c5a239',
    950: '#000000',
  },
}
SCSS
$custom: #c5a239;
$custom-light: #dbbd76;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a239",
  "rgb": {
    "r": 197,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 45,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.72512,
    "c": 0.12683,
    "h": 90
  },
  "luminance": 0.38006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5A239

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

Preview Lab → · Contrast checker → · Palette generator →

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