#C5B04A#C5B04A

#C5B04A is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.6% C 0.124 H 97.7°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#C5B04A
RGBrgb(197, 176, 74)
HSLhsl(50, 51%, 53%)
HSVhsv(50, 62%, 77%)
CMYKcmyk(0%, 10.7%, 62.4%, 22.7%)
CIE-LABlab(71.84, -4.57, 53.57)
CIE-LCHlch(71.84, 53.76, 94.88°)
OKLaboklab(75.57% -0.0165 0.1226)
OKLCHoklch(75.57% 0.124 97.7)
XYZxyz(39.7890, 43.4172, 12.7618)
Luminance0.4341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B04A #4A5FC5
analogous
#C5724A #C5B04A #9CC54A
triadic
#C5B04A #4AC5B0 #B04AC5
tetradic
#C5B04A #4AC572 #4A5FC5 #C54A9C
square
#C5B04A #4AC572 #4A5FC5 #C54A9C
split-complementary
#C5B04A #4A9CC5 #724AC5
monochromatic
#716324 #9F8C33 #C5B04A #D4C478 #E3D8A7

Accessibility & contrast

On white

2.17
#C5B04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#C5B04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B04A
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B04A#FFFFFF#000000##000000
##C5B04A1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC3F
Deuteranopia (green-blind)
#C6B34F
Tritanopia (blue-blind)
#D4A49A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c5b04a;
/* rgb */ color: rgb(197, 176, 74);
/* oklch */ color: oklch(75.6% 0.124 97.7);
Tailwind
colors: {
  custom: {
    50: '#dac781',
    500: '#c5b04a',
    950: '#000000',
  },
}
SCSS
$custom: #c5b04a;
$custom-light: #dac781;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b04a",
  "rgb": {
    "r": 197,
    "g": 176,
    "b": 74
  },
  "hsl": {
    "h": 49.756,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75568,
    "c": 0.1237,
    "h": 97.7
  },
  "luminance": 0.43415
}

Semantic roles & 50–950 ramp

primary
#C5B04A
secondary
#9BA4D0
accent
#65DB4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C5B04A

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

Preview Lab → · Contrast checker → · Palette generator →

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