#C5BF52#C5BF52

#C5BF52 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.8% C 0.131 H 106.1°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#C5BF52
RGBrgb(197, 191, 82)
HSLhsl(57, 50%, 55%)
HSVhsv(57, 58%, 77%)
CMYKcmyk(0%, 3%, 58.4%, 22.7%)
CIE-LABlab(75.91, -11.79, 54.47)
CIE-LCHlch(75.91, 55.73, 102.22°)
OKLaboklab(78.83% -0.0362 0.1256)
OKLCHoklch(78.83% 0.131 106.1)
XYZxyz(43.1811, 49.7425, 15.3076)
Luminance0.4974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF52 #5258C5
analogous
#C58652 #C5BF52 #91C552
triadic
#C5BF52 #52C5BF #BF52C5
tetradic
#C5BF52 #52C586 #5258C5 #C55291
square
#C5BF52 #52C586 #5258C5 #C55291
split-complementary
#C5BF52 #5291C5 #8652C5
monochromatic
#757127 #A39D37 #C5BF52 #D4D080 #E4E1AE

Accessibility & contrast

On white

1.92
#C5BF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#C5BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BF52
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BF52#FFFFFF#000000##000000
##C5BF521.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB846
Deuteranopia (green-blind)
#D1BD58
Tritanopia (blue-blind)
#D2B4A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5bf52;
/* rgb */ color: rgb(197, 191, 82);
/* oklch */ color: oklch(78.8% 0.131 106.1);
Tailwind
colors: {
  custom: {
    50: '#d9d287',
    500: '#c5bf52',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf52;
$custom-light: #d9d287;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf52",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 56.87,
    "s": 49.784,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78826,
    "c": 0.1307,
    "h": 106.1
  },
  "luminance": 0.49741
}

Semantic roles & 50–950 ramp

primary
#C5BF52
secondary
#A1A4D2
accent
#56D94E
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140B
muted
#83827C

Preview Lab

Preview with #C5BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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