#C5A832#C5A832

#C5A832 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.7% C 0.135 H 94.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#C5A832
RGBrgb(197, 168, 50)
HSLhsl(48, 60%, 48%)
HSVhsv(48, 75%, 77%)
CMYKcmyk(0%, 14.7%, 74.6%, 22.7%)
CIE-LABlab(69.55, -1.67, 61.10)
CIE-LCHlch(69.55, 61.12, 91.56°)
OKLaboklab(73.7% -0.011 0.1344)
OKLCHoklch(73.7% 0.135 94.7)
XYZxyz(37.6063, 40.1080, 8.7778)
Luminance0.4011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A832 #324FC5
analogous
#C55E32 #C5A832 #98C532
triadic
#C5A832 #32C5A8 #A832C5
tetradic
#C5A832 #32C55E #324FC5 #C53298
square
#C5A832 #32C55E #324FC5 #C53298
split-complementary
#C5A832 #3298C5 #5E32C5
monochromatic
#635519 #947E26 #C5A832 #D6BE5E #E3D28F

Accessibility & contrast

On white

2.33
#C5A832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#C5A832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A832
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A832#FFFFFF#000000##000000
##C5A8321.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51D
Deuteranopia (green-blind)
#C1AE39
Tritanopia (blue-blind)
#D59A91
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c5a832;
/* rgb */ color: rgb(197, 168, 50);
/* oklch */ color: oklch(73.7% 0.135 94.7);
Tailwind
colors: {
  custom: {
    50: '#dbc172',
    500: '#c5a832',
    950: '#000000',
  },
}
SCSS
$custom: #c5a832;
$custom-light: #dbc172;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a832",
  "rgb": {
    "r": 197,
    "g": 168,
    "b": 50
  },
  "hsl": {
    "h": 48.163,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73697,
    "c": 0.13489,
    "h": 94.7
  },
  "luminance": 0.40106
}

Semantic roles & 50–950 ramp

primary
#C5A832
secondary
#8694CD
accent
#64E345
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C5A832

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

Preview Lab → · Contrast checker → · Palette generator →

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