#C5BB42#C5BB42

#C5BB42 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.8% C 0.140 H 104.6°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#C5BB42
RGBrgb(197, 187, 66)
HSLhsl(55, 53%, 52%)
HSVhsv(55, 66%, 77%)
CMYKcmyk(0%, 5.1%, 66.5%, 22.7%)
CIE-LABlab(74.70, -10.78, 60.02)
CIE-LCHlch(74.70, 60.98, 100.18°)
OKLaboklab(77.82% -0.0351 0.135)
OKLCHoklch(77.82% 0.14 104.6)
XYZxyz(41.7813, 47.8059, 12.1798)
Luminance0.4780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BB42 #424CC5
analogous
#C57A42 #C5BB42 #8EC542
triadic
#C5BB42 #42C5BB #BB42C5
tetradic
#C5BB42 #42C57A #424CC5 #C5428E
square
#C5BB42 #42C57A #424CC5 #C5428E
split-complementary
#C5BB42 #428EC5 #7A42C5
monochromatic
#6C6621 #9A922F #C5BB42 #D3CC71 #E2DDA0

Accessibility & contrast

On white

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

On black

10.56
#C5BB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BB42
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BB42#FFFFFF#000000##000000
##C5BB421.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB531
Deuteranopia (green-blind)
#CEBA49
Tritanopia (blue-blind)
#D3AFA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c5bb42;
/* rgb */ color: rgb(197, 187, 66);
/* oklch */ color: oklch(77.8% 0.140 104.6);
Tailwind
colors: {
  custom: {
    50: '#dacf7d',
    500: '#c5bb42',
    950: '#000000',
  },
}
SCSS
$custom: #c5bb42;
$custom-light: #dacf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bb42",
  "rgb": {
    "r": 197,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 55.42,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77821,
    "c": 0.13952,
    "h": 104.6
  },
  "luminance": 0.47804
}

Semantic roles & 50–950 ramp

primary
#C5BB42
secondary
#9599CE
accent
#56DC4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5BB42

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

Preview Lab → · Contrast checker → · Palette generator →

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