#C5BD52#C5BD52

#C5BD52 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.4% C 0.129 H 105.0°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#C5BD52
RGBrgb(197, 189, 82)
HSLhsl(56, 50%, 55%)
HSVhsv(56, 58%, 77%)
CMYKcmyk(0%, 4.1%, 58.4%, 22.7%)
CIE-LABlab(75.37, -10.77, 53.87)
CIE-LCHlch(75.37, 54.94, 101.30°)
OKLaboklab(78.4% -0.0333 0.1243)
OKLCHoklch(78.4% 0.129 105)
XYZxyz(42.7479, 48.8761, 15.1633)
Luminance0.4888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BD52 #525AC5
analogous
#C58452 #C5BD52 #94C552
triadic
#C5BD52 #52C5BD #BD52C5
tetradic
#C5BD52 #52C584 #525AC5 #C55294
square
#C5BD52 #52C584 #525AC5 #C55294
split-complementary
#C5BD52 #5294C5 #8452C5
monochromatic
#757027 #A39C37 #C5BD52 #D4CE80 #E4E0AE

Accessibility & contrast

On white

1.95
#C5BD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#C5BD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BD52
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BD52#FFFFFF#000000##000000
##C5BD521.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB746
Deuteranopia (green-blind)
#CFBC58
Tritanopia (blue-blind)
#D2B1A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c5bd52;
/* rgb */ color: rgb(197, 189, 82);
/* oklch */ color: oklch(78.4% 0.129 105.0);
Tailwind
colors: {
  custom: {
    50: '#d9d086',
    500: '#c5bd52',
    950: '#000000',
  },
}
SCSS
$custom: #c5bd52;
$custom-light: #d9d086;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bd52",
  "rgb": {
    "r": 197,
    "g": 189,
    "b": 82
  },
  "hsl": {
    "h": 55.826,
    "s": 49.784,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78399,
    "c": 0.1287,
    "h": 105
  },
  "luminance": 0.48875
}

Semantic roles & 50–950 ramp

primary
#C5BD52
secondary
#A1A5D2
accent
#58D94E
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140B
muted
#83827C

Preview Lab

Preview with #C5BD52

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

Preview Lab → · Contrast checker → · Palette generator →

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