#C5BD39#C5BD39

#C5BD39 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.2% C 0.147 H 105.9°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#C5BD39
RGBrgb(197, 189, 57)
HSLhsl(57, 55%, 50%)
HSVhsv(57, 71%, 77%)
CMYKcmyk(0%, 4.1%, 71.1%, 22.7%)
CIE-LABlab(75.18, -12.28, 63.96)
CIE-LCHlch(75.18, 65.13, 100.87°)
OKLaboklab(78.18% -0.0403 0.1418)
OKLCHoklch(78.18% 0.147 105.9)
XYZxyz(41.9638, 48.5625, 11.0331)
Luminance0.4856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BD39 #3941C5
analogous
#C57739 #C5BD39 #87C539
triadic
#C5BD39 #39C5BD #BD39C5
tetradic
#C5BD39 #39C577 #3941C5 #C53987
square
#C5BD39 #39C577 #3941C5 #C53987
split-complementary
#C5BD39 #3987C5 #7739C5
monochromatic
#66621E #968F2B #C5BD39 #D3CD68 #E1DD97

Accessibility & contrast

On white

1.96
#C5BD39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#C5BD39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BD39
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BD39#FFFFFF#000000##000000
##C5BD391.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB622
Deuteranopia (green-blind)
#D0BC42
Tritanopia (blue-blind)
#D3B0A3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c5bd39;
/* rgb */ color: rgb(197, 189, 57);
/* oklch */ color: oklch(78.2% 0.147 105.9);
Tailwind
colors: {
  custom: {
    50: '#dad078',
    500: '#c5bd39',
    950: '#000000',
  },
}
SCSS
$custom: #c5bd39;
$custom-light: #dad078;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bd39",
  "rgb": {
    "r": 197,
    "g": 189,
    "b": 57
  },
  "hsl": {
    "h": 56.571,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.78181,
    "c": 0.14743,
    "h": 105.9
  },
  "luminance": 0.48561
}

Semantic roles & 50–950 ramp

primary
#C5BD39
secondary
#8D91CD
accent
#52DE49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5BD39

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

Preview Lab → · Contrast checker → · Palette generator →

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