#C5B34D#C5B34D

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

Color values

HEX#C5B34D
RGBrgb(197, 179, 77)
HSLhsl(51, 51%, 54%)
HSVhsv(51, 61%, 77%)
CMYKcmyk(0%, 9.1%, 60.9%, 22.7%)
CIE-LABlab(72.66, -5.94, 53.12)
CIE-LCHlch(72.66, 53.45, 96.38°)
OKLaboklab(76.23% -0.0201 0.1221)
OKLCHoklch(76.23% 0.124 99.4)
XYZxyz(40.4872, 44.6481, 13.5050)
Luminance0.4465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B34D #4D5FC5
analogous
#C5774D #C5B34D #9BC54D
triadic
#C5B34D #4DC5B3 #B34DC5
tetradic
#C5B34D #4DC577 #4D5FC5 #C54D9B
square
#C5B34D #4DC577 #4D5FC5 #C54D9B
split-complementary
#C5B34D #4D9BC5 #774DC5
monochromatic
#726725 #A09034 #C5B34D #D4C77B #E3DAA9

Accessibility & contrast

On white

2.11
#C5B34D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#C5B34D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B34D
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B34D#FFFFFF#000000##000000
##C5B34D1.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5b34d;
/* rgb */ color: rgb(197, 179, 77);
/* oklch */ color: oklch(76.2% 0.124 99.4);
Tailwind
colors: {
  custom: {
    50: '#d9c983',
    500: '#c5b34d',
    950: '#000000',
  },
}
SCSS
$custom: #c5b34d;
$custom-light: #d9c983;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b34d",
  "rgb": {
    "r": 197,
    "g": 179,
    "b": 77
  },
  "hsl": {
    "h": 51,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76228,
    "c": 0.12369,
    "h": 99.4
  },
  "luminance": 0.44646
}

Semantic roles & 50–950 ramp

primary
#C5B34D
secondary
#9DA5D1
accent
#63DA4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C5B34D

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

Preview Lab → · Contrast checker → · Palette generator →

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