#C5BB3B#C5BB3B

#C5BB3B is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.8% C 0.144 H 104.8°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#C5BB3B
RGBrgb(197, 187, 59)
HSLhsl(56, 54%, 50%)
HSVhsv(56, 70%, 77%)
CMYKcmyk(0%, 5.1%, 70.1%, 22.7%)
CIE-LABlab(74.65, -11.16, 62.70)
CIE-LCHlch(74.65, 63.69, 100.09°)
OKLaboklab(77.77% -0.0369 0.1395)
OKLCHoklch(77.77% 0.144 104.8)
XYZxyz(41.5874, 47.7283, 11.1587)
Luminance0.4773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BB3B #3B45C5
analogous
#C5763B #C5BB3B #8AC53B
triadic
#C5BB3B #3BC5BB #BB3BC5
tetradic
#C5BB3B #3BC576 #3B45C5 #C53B8A
square
#C5BB3B #3BC576 #3B45C5 #C53B8A
split-complementary
#C5BB3B #3B8AC5 #763BC5
monochromatic
#67621F #968F2C #C5BB3B #D3CB6A #E1DC99

Accessibility & contrast

On white

1.99
#C5BB3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#C5BB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BB3B
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BB3B#FFFFFF#000000##000000
##C5BB3B1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB427
Deuteranopia (green-blind)
#CFBA44
Tritanopia (blue-blind)
#D4AEA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c5bb3b;
/* rgb */ color: rgb(197, 187, 59);
/* oklch */ color: oklch(77.8% 0.144 104.8);
Tailwind
colors: {
  custom: {
    50: '#dacf79',
    500: '#c5bb3b',
    950: '#000000',
  },
}
SCSS
$custom: #c5bb3b;
$custom-light: #dacf79;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bb3b",
  "rgb": {
    "r": 197,
    "g": 187,
    "b": 59
  },
  "hsl": {
    "h": 55.652,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.77767,
    "c": 0.14433,
    "h": 104.8
  },
  "luminance": 0.47727
}

Semantic roles & 50–950 ramp

primary
#C5BB3B
secondary
#8F94CD
accent
#55DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5BB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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