#C5BC52#C5BC52

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

Color values

HEX#C5BC52
RGBrgb(197, 188, 82)
HSLhsl(55, 50%, 55%)
HSVhsv(55, 58%, 77%)
CMYKcmyk(0%, 4.6%, 58.4%, 22.7%)
CIE-LABlab(75.11, -10.26, 53.58)
CIE-LCHlch(75.11, 54.55, 100.84°)
OKLaboklab(78.19% -0.0319 0.1237)
OKLCHoklch(78.19% 0.128 104.4)
XYZxyz(42.5336, 48.4474, 15.0918)
Luminance0.4845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BC52 #525BC5
analogous
#C58252 #C5BC52 #95C552
triadic
#C5BC52 #52C5BC #BC52C5
tetradic
#C5BC52 #52C582 #525BC5 #C55295
square
#C5BC52 #52C582 #525BC5 #C55295
split-complementary
#C5BC52 #5295C5 #8252C5
monochromatic
#756F27 #A39B37 #C5BC52 #D4CE80 #E4E0AE

Accessibility & contrast

On white

1.96
#C5BC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#C5BC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BC52
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BC52#FFFFFF#000000##000000
##C5BC521.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB647
Deuteranopia (green-blind)
#CEBB58
Tritanopia (blue-blind)
#D2B0A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c5bc52;
/* rgb */ color: rgb(197, 188, 82);
/* oklch */ color: oklch(78.2% 0.128 104.4);
Tailwind
colors: {
  custom: {
    50: '#d9cf86',
    500: '#c5bc52',
    950: '#000000',
  },
}
SCSS
$custom: #c5bc52;
$custom-light: #d9cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bc52",
  "rgb": {
    "r": 197,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 55.304,
    "s": 49.784,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78186,
    "c": 0.12771,
    "h": 104.4
  },
  "luminance": 0.48446
}

Semantic roles & 50–950 ramp

primary
#C5BC52
secondary
#A1A5D2
accent
#59D94E
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C5BC52

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

Preview Lab → · Contrast checker → · Palette generator →

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