#C5BB31#C5BB31

#C5BB31 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.7% C 0.150 H 105.1°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#C5BB31
RGBrgb(197, 187, 49)
HSLhsl(56, 60%, 48%)
HSVhsv(56, 75%, 77%)
CMYKcmyk(0%, 5.1%, 75.1%, 22.7%)
CIE-LABlab(74.59, -11.62, 66.20)
CIE-LCHlch(74.59, 67.21, 99.96°)
OKLaboklab(77.7% -0.0392 0.1451)
OKLCHoklch(77.7% 0.15 105.1)
XYZxyz(41.3524, 47.6343, 9.9212)
Luminance0.4763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BB31 #313BC5
analogous
#C57131 #C5BB31 #85C531
triadic
#C5BB31 #31C5BB #BB31C5
tetradic
#C5BB31 #31C571 #313BC5 #C53185
square
#C5BB31 #31C571 #313BC5 #C53185
split-complementary
#C5BB31 #3185C5 #7131C5
monochromatic
#635E19 #948C25 #C5BB31 #D7CE5D #E3DD8E

Accessibility & contrast

On white

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

On black

10.53
#C5BB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BB31
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BB31#FFFFFF#000000##000000
##C5BB311.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB412
Deuteranopia (green-blind)
#CFBA3C
Tritanopia (blue-blind)
#D4AEA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c5bb31;
/* rgb */ color: rgb(197, 187, 49);
/* oklch */ color: oklch(77.7% 0.150 105.1);
Tailwind
colors: {
  custom: {
    50: '#dacf74',
    500: '#c5bb31',
    950: '#000000',
  },
}
SCSS
$custom: #c5bb31;
$custom-light: #dacf74;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bb31",
  "rgb": {
    "r": 197,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 55.946,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.777,
    "c": 0.1503,
    "h": 105.1
  },
  "luminance": 0.47633
}

Semantic roles & 50–950 ramp

primary
#C5BB31
secondary
#858ACD
accent
#4FE344
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C5BB31

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

Preview Lab → · Contrast checker → · Palette generator →

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