#C5BC4F#C5BC4F

#C5BC4F is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.2% C 0.130 H 104.6°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#C5BC4F
RGBrgb(197, 188, 79)
HSLhsl(55, 50%, 54%)
HSVhsv(55, 60%, 77%)
CMYKcmyk(0%, 4.6%, 59.9%, 22.7%)
CIE-LABlab(75.08, -10.47, 54.89)
CIE-LCHlch(75.08, 55.88, 100.80°)
OKLaboklab(78.16% -0.0328 0.1261)
OKLCHoklch(78.16% 0.13 104.6)
XYZxyz(42.4219, 48.4027, 14.5037)
Luminance0.4840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BC4F #4F58C5
analogous
#C5814F #C5BC4F #93C54F
triadic
#C5BC4F #4FC5BC #BC4FC5
tetradic
#C5BC4F #4FC581 #4F58C5 #C54F93
square
#C5BC4F #4FC581 #4F58C5 #C54F93
split-complementary
#C5BC4F #4F93C5 #814FC5
monochromatic
#746E26 #A29935 #C5BC4F #D4CE7D #E3DFAB

Accessibility & contrast

On white

1.97
#C5BC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#C5BC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BC4F
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BC4F#FFFFFF#000000##000000
##C5BC4F1.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB643
Deuteranopia (green-blind)
#CEBB55
Tritanopia (blue-blind)
#D3B0A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c5bc4f;
/* rgb */ color: rgb(197, 188, 79);
/* oklch */ color: oklch(78.2% 0.130 104.6);
Tailwind
colors: {
  custom: {
    50: '#d9cf85',
    500: '#c5bc4f',
    950: '#000000',
  },
}
SCSS
$custom: #c5bc4f;
$custom-light: #d9cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bc4f",
  "rgb": {
    "r": 197,
    "g": 188,
    "b": 79
  },
  "hsl": {
    "h": 55.424,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78155,
    "c": 0.13029,
    "h": 104.6
  },
  "luminance": 0.48401
}

Semantic roles & 50–950 ramp

primary
#C5BC4F
secondary
#9FA3D1
accent
#59DA4E
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C5BC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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