#C5A232#C5A232

#C5A232 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.5% C 0.131 H 90.8°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#C5A232
RGBrgb(197, 162, 50)
HSLhsl(46, 60%, 48%)
HSVhsv(46, 75%, 77%)
CMYKcmyk(0%, 17.8%, 74.6%, 22.7%)
CIE-LABlab(67.98, 1.53, 59.59)
CIE-LCHlch(67.98, 59.61, 88.53°)
OKLaboklab(72.46% -0.0018 0.1313)
OKLCHoklch(72.46% 0.131 90.8)
XYZxyz(36.5241, 37.9435, 8.4171)
Luminance0.3794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A232 #3255C5
analogous
#C55832 #C5A232 #9EC532
triadic
#C5A232 #32C5A2 #A232C5
tetradic
#C5A232 #32C558 #3255C5 #C5329E
square
#C5A232 #32C558 #3255C5 #C5329E
split-complementary
#C5A232 #329EC5 #5832C5
monochromatic
#635219 #947A26 #C5A232 #D6BA5E #E3CF8F

Accessibility & contrast

On white

2.45
#C5A232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#C5A232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A232
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A232#FFFFFF#000000##000000
##C5A2321.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01F
Deuteranopia (green-blind)
#BDAA38
Tritanopia (blue-blind)
#D5948C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c5a232;
/* rgb */ color: rgb(197, 162, 50);
/* oklch */ color: oklch(72.5% 0.131 90.8);
Tailwind
colors: {
  custom: {
    50: '#dbbd72',
    500: '#c5a232',
    950: '#000000',
  },
}
SCSS
$custom: #c5a232;
$custom-light: #dbbd72;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a232",
  "rgb": {
    "r": 197,
    "g": 162,
    "b": 50
  },
  "hsl": {
    "h": 45.714,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72459,
    "c": 0.13126,
    "h": 90.8
  },
  "luminance": 0.37941
}

Semantic roles & 50–950 ramp

primary
#C5A232
secondary
#8697CD
accent
#6BE345
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C5A232

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

Preview Lab → · Contrast checker → · Palette generator →

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