#C5BB51#C5BB51

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

Color values

HEX#C5BB51
RGBrgb(197, 187, 81)
HSLhsl(55, 50%, 55%)
HSVhsv(55, 59%, 77%)
CMYKcmyk(0%, 5.1%, 58.9%, 22.7%)
CIE-LABlab(74.83, -9.81, 53.72)
CIE-LCHlch(74.83, 54.61, 100.35°)
OKLaboklab(77.96% -0.0307 0.1239)
OKLCHoklch(77.96% 0.128 103.9)
XYZxyz(42.2829, 48.0065, 14.8219)
Luminance0.4800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BB51 #515BC5
analogous
#C58151 #C5BB51 #95C551
triadic
#C5BB51 #51C5BB #BB51C5
tetradic
#C5BB51 #51C581 #515BC5 #C55195
square
#C5BB51 #51C581 #515BC5 #C55195
split-complementary
#C5BB51 #5195C5 #8151C5
monochromatic
#756E27 #A39936 #C5BB51 #D4CD7F #E4DFAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5BB51#FFFFFF#000000##000000
##C5BB511.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)
#CAB546
Deuteranopia (green-blind)
#CEBB57
Tritanopia (blue-blind)
#D3AFA4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c5bb51;
/* rgb */ color: rgb(197, 187, 81);
/* oklch */ color: oklch(78.0% 0.128 103.9);
Tailwind
colors: {
  custom: {
    50: '#d9cf86',
    500: '#c5bb51',
    950: '#000000',
  },
}
SCSS
$custom: #c5bb51;
$custom-light: #d9cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bb51",
  "rgb": {
    "r": 197,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 54.828,
    "s": 50,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77963,
    "c": 0.1276,
    "h": 103.9
  },
  "luminance": 0.48005
}

Semantic roles & 50–950 ramp

primary
#C5BB51
secondary
#A0A5D1
accent
#5ADA4E
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C5BB51

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

Preview Lab → · Contrast checker → · Palette generator →

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