#C5BB39#C5BB39

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

Color values

HEX#C5BB39
RGBrgb(197, 187, 57)
HSLhsl(56, 55%, 50%)
HSVhsv(56, 71%, 77%)
CMYKcmyk(0%, 5.1%, 71.1%, 22.7%)
CIE-LABlab(74.64, -11.26, 63.44)
CIE-LCHlch(74.64, 64.43, 100.06°)
OKLaboklab(77.75% -0.0374 0.1407)
OKLCHoklch(77.75% 0.146 104.9)
XYZxyz(41.5365, 47.7080, 10.8907)
Luminance0.4771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BB39 #3943C5
analogous
#C57539 #C5BB39 #89C539
triadic
#C5BB39 #39C5BB #BB39C5
tetradic
#C5BB39 #39C575 #3943C5 #C53989
square
#C5BB39 #39C575 #3943C5 #C53989
split-complementary
#C5BB39 #3989C5 #7539C5
monochromatic
#66611E #968E2B #C5BB39 #D3CC68 #E1DC97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5BB39#FFFFFF#000000##000000
##C5BB391.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)
#CBB423
Deuteranopia (green-blind)
#CFBA42
Tritanopia (blue-blind)
#D4AEA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c5bb39;
/* rgb */ color: rgb(197, 187, 57);
/* oklch */ color: oklch(77.8% 0.146 104.9);
Tailwind
colors: {
  custom: {
    50: '#dacf78',
    500: '#c5bb39',
    950: '#000000',
  },
}
SCSS
$custom: #c5bb39;
$custom-light: #dacf78;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bb39",
  "rgb": {
    "r": 197,
    "g": 187,
    "b": 57
  },
  "hsl": {
    "h": 55.714,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.77752,
    "c": 0.1456,
    "h": 104.9
  },
  "luminance": 0.47706
}

Semantic roles & 50–950 ramp

primary
#C5BB39
secondary
#8D92CD
accent
#54DE49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5BB39

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

Preview Lab → · Contrast checker → · Palette generator →

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