#C5BF50#C5BF50

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

Color values

HEX#C5BF50
RGBrgb(197, 191, 80)
HSLhsl(57, 50%, 54%)
HSVhsv(57, 59%, 77%)
CMYKcmyk(0%, 3%, 59.4%, 22.7%)
CIE-LABlab(75.89, -11.94, 55.34)
CIE-LCHlch(75.89, 56.61, 102.17°)
OKLaboklab(78.81% -0.0369 0.1272)
OKLCHoklch(78.81% 0.132 106.2)
XYZxyz(43.1061, 49.7125, 14.9127)
Luminance0.4971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF50 #5056C5
analogous
#C58550 #C5BF50 #91C550
triadic
#C5BF50 #50C5BF #BF50C5
tetradic
#C5BF50 #50C585 #5056C5 #C55091
square
#C5BF50 #50C585 #5056C5 #C55091
split-complementary
#C5BF50 #5091C5 #8550C5
monochromatic
#747026 #A29D36 #C5BF50 #D4D07E #E3E1AC

Accessibility & contrast

On white

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

On black

10.94
#C5BF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BF50
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BF50#FFFFFF#000000##000000
##C5BF501.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB844
Deuteranopia (green-blind)
#D1BD56
Tritanopia (blue-blind)
#D2B3A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5bf50;
/* rgb */ color: rgb(197, 191, 80);
/* oklch */ color: oklch(78.8% 0.132 106.2);
Tailwind
colors: {
  custom: {
    50: '#d9d285',
    500: '#c5bf50',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf50;
$custom-light: #d9d285;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf50",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 80
  },
  "hsl": {
    "h": 56.923,
    "s": 50.215,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78806,
    "c": 0.13241,
    "h": 106.2
  },
  "luminance": 0.49711
}

Semantic roles & 50–950 ramp

primary
#C5BF50
secondary
#A0A2D1
accent
#55DA4E
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140B
muted
#83827C

Preview Lab

Preview with #C5BF50

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

Preview Lab → · Contrast checker → · Palette generator →

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