#C5BB52#C5BB52

#C5BB52 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.0% C 0.127 H 103.9°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#C5BB52
RGBrgb(197, 187, 82)
HSLhsl(55, 50%, 55%)
HSVhsv(55, 58%, 77%)
CMYKcmyk(0%, 5.1%, 58.4%, 22.7%)
CIE-LABlab(74.84, -9.74, 53.28)
CIE-LCHlch(74.84, 54.16, 100.36°)
OKLaboklab(77.97% -0.0304 0.123)
OKLCHoklch(77.97% 0.127 103.9)
XYZxyz(42.3207, 48.0216, 15.0208)
Luminance0.4802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BB52 #525CC5
analogous
#C58252 #C5BB52 #95C552
triadic
#C5BB52 #52C5BB #BB52C5
tetradic
#C5BB52 #52C582 #525CC5 #C55295
square
#C5BB52 #52C582 #525CC5 #C55295
split-complementary
#C5BB52 #5295C5 #8252C5
monochromatic
#756F27 #A39A37 #C5BB52 #D4CD80 #E4DFAE

Accessibility & contrast

On white

1.98
#C5BB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#C5BB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BB52
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BB52#FFFFFF#000000##000000
##C5BB521.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB547
Deuteranopia (green-blind)
#CDBB58
Tritanopia (blue-blind)
#D2AFA4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c5bb52;
/* rgb */ color: rgb(197, 187, 82);
/* oklch */ color: oklch(78.0% 0.127 103.9);
Tailwind
colors: {
  custom: {
    50: '#d9cf86',
    500: '#c5bb52',
    950: '#000000',
  },
}
SCSS
$custom: #c5bb52;
$custom-light: #d9cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bb52",
  "rgb": {
    "r": 197,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 54.783,
    "s": 49.784,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77973,
    "c": 0.12673,
    "h": 103.9
  },
  "luminance": 0.4802
}

Semantic roles & 50–950 ramp

primary
#C5BB52
secondary
#A1A5D2
accent
#5BD94E
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C5BB52

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

Preview Lab → · Contrast checker → · Palette generator →

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