#C5BB3A#C5BB3A

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

Color values

HEX#C5BB3A
RGBrgb(197, 187, 58)
HSLhsl(56, 55%, 50%)
HSVhsv(56, 71%, 77%)
CMYKcmyk(0%, 5.1%, 70.6%, 22.7%)
CIE-LABlab(74.65, -11.21, 63.07)
CIE-LCHlch(74.65, 64.06, 100.08°)
OKLaboklab(77.76% -0.0372 0.1401)
OKLCHoklch(77.76% 0.145 104.9)
XYZxyz(41.5617, 47.7180, 11.0234)
Luminance0.4772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BB3A #3A44C5
analogous
#C5753A #C5BB3A #8AC53A
triadic
#C5BB3A #3AC5BB #BB3AC5
tetradic
#C5BB3A #3AC575 #3A44C5 #C53A8A
square
#C5BB3A #3AC575 #3A44C5 #C53A8A
split-complementary
#C5BB3A #3A8AC5 #753AC5
monochromatic
#66611E #968E2C #C5BB3A #D3CB69 #E1DC99

Accessibility & contrast

On white

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

On black

10.54
#C5BB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BB3A
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BB3A#FFFFFF#000000##000000
##C5BB3A1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5bb3a;
/* rgb */ color: rgb(197, 187, 58);
/* oklch */ color: oklch(77.8% 0.145 104.9);
Tailwind
colors: {
  custom: {
    50: '#dacf78',
    500: '#c5bb3a',
    950: '#000000',
  },
}
SCSS
$custom: #c5bb3a;
$custom-light: #dacf78;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bb3a",
  "rgb": {
    "r": 197,
    "g": 187,
    "b": 58
  },
  "hsl": {
    "h": 55.683,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.77759,
    "c": 0.14497,
    "h": 104.9
  },
  "luminance": 0.47716
}

Semantic roles & 50–950 ramp

primary
#C5BB3A
secondary
#8E93CD
accent
#55DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5BB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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