#C5B34A#C5B34A

#C5B34A is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.2% C 0.126 H 99.6°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#C5B34A
RGBrgb(197, 179, 74)
HSLhsl(51, 51%, 53%)
HSVhsv(51, 62%, 77%)
CMYKcmyk(0%, 9.1%, 62.4%, 22.7%)
CIE-LABlab(72.63, -6.15, 54.43)
CIE-LCHlch(72.63, 54.78, 96.44°)
OKLaboklab(76.2% -0.021 0.1244)
OKLCHoklch(76.2% 0.126 99.6)
XYZxyz(40.3837, 44.6067, 12.9600)
Luminance0.4461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B34A #4A5CC5
analogous
#C5764A #C5B34A #99C54A
triadic
#C5B34A #4AC5B3 #B34AC5
tetradic
#C5B34A #4AC576 #4A5CC5 #C54A99
square
#C5B34A #4AC576 #4A5CC5 #C54A99
split-complementary
#C5B34A #4A99C5 #764AC5
monochromatic
#716524 #9F8F33 #C5B34A #D4C678 #E3DAA7

Accessibility & contrast

On white

2.12
#C5B34A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#C5B34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B34A
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B34A#FFFFFF#000000##000000
##C5B34A1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3E
Deuteranopia (green-blind)
#C8B54F
Tritanopia (blue-blind)
#D3A79D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c5b34a;
/* rgb */ color: rgb(197, 179, 74);
/* oklch */ color: oklch(76.2% 0.126 99.6);
Tailwind
colors: {
  custom: {
    50: '#dac981',
    500: '#c5b34a',
    950: '#000000',
  },
}
SCSS
$custom: #c5b34a;
$custom-light: #dac981;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b34a",
  "rgb": {
    "r": 197,
    "g": 179,
    "b": 74
  },
  "hsl": {
    "h": 51.22,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76198,
    "c": 0.1262,
    "h": 99.6
  },
  "luminance": 0.44605
}

Semantic roles & 50–950 ramp

primary
#C5B34A
secondary
#9BA3D0
accent
#62DB4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C5B34A

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

Preview Lab → · Contrast checker → · Palette generator →

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