#C5B34B#C5B34B

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

Color values

HEX#C5B34B
RGBrgb(197, 179, 75)
HSLhsl(51, 51%, 53%)
HSVhsv(51, 62%, 77%)
CMYKcmyk(0%, 9.1%, 61.9%, 22.7%)
CIE-LABlab(72.64, -6.08, 54.00)
CIE-LCHlch(72.64, 54.34, 96.42°)
OKLaboklab(76.21% -0.0207 0.1236)
OKLCHoklch(76.21% 0.125 99.5)
XYZxyz(40.4177, 44.6203, 13.1388)
Luminance0.4462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B34B #4B5DC5
analogous
#C5764B #C5B34B #9AC54B
triadic
#C5B34B #4BC5B3 #B34BC5
tetradic
#C5B34B #4BC576 #4B5DC5 #C54B9A
square
#C5B34B #4BC576 #4B5DC5 #C54B9A
split-complementary
#C5B34B #4B9AC5 #764BC5
monochromatic
#716624 #9F8F33 #C5B34B #D4C779 #E3DAA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5B34B#FFFFFF#000000##000000
##C5B34B1.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)
#C3AE3F
Deuteranopia (green-blind)
#C8B550
Tritanopia (blue-blind)
#D3A79D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c5b34b;
/* rgb */ color: rgb(197, 179, 75);
/* oklch */ color: oklch(76.2% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#d9c981',
    500: '#c5b34b',
    950: '#000000',
  },
}
SCSS
$custom: #c5b34b;
$custom-light: #d9c981;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b34b",
  "rgb": {
    "r": 197,
    "g": 179,
    "b": 75
  },
  "hsl": {
    "h": 51.148,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76208,
    "c": 0.12537,
    "h": 99.5
  },
  "luminance": 0.44619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5B34B

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

Preview Lab → · Contrast checker → · Palette generator →

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