#C5BD3A#C5BD3A

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

Color values

HEX#C5BD3A
RGBrgb(197, 189, 58)
HSLhsl(57, 55%, 50%)
HSVhsv(57, 71%, 77%)
CMYKcmyk(0%, 4.1%, 70.6%, 22.7%)
CIE-LABlab(75.18, -12.23, 63.60)
CIE-LCHlch(75.18, 64.77, 100.89°)
OKLaboklab(78.19% -0.0401 0.1412)
OKLCHoklch(78.19% 0.147 105.8)
XYZxyz(41.9889, 48.5725, 11.1658)
Luminance0.4857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BD3A #3A42C5
analogous
#C5783A #C5BD3A #87C53A
triadic
#C5BD3A #3AC5BD #BD3AC5
tetradic
#C5BD3A #3AC578 #3A42C5 #C53A87
square
#C5BD3A #3AC578 #3A42C5 #C53A87
split-complementary
#C5BD3A #3A87C5 #783AC5
monochromatic
#66621E #96902C #C5BD3A #D3CD69 #E1DD99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5BD3A#FFFFFF#000000##000000
##C5BD3A1.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)
#CDB624
Deuteranopia (green-blind)
#D0BC43
Tritanopia (blue-blind)
#D3B0A3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c5bd3a;
/* rgb */ color: rgb(197, 189, 58);
/* oklch */ color: oklch(78.2% 0.147 105.8);
Tailwind
colors: {
  custom: {
    50: '#dad079',
    500: '#c5bd3a',
    950: '#000000',
  },
}
SCSS
$custom: #c5bd3a;
$custom-light: #dad079;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bd3a",
  "rgb": {
    "r": 197,
    "g": 189,
    "b": 58
  },
  "hsl": {
    "h": 56.547,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.78188,
    "c": 0.1468,
    "h": 105.8
  },
  "luminance": 0.48571
}

Semantic roles & 50–950 ramp

primary
#C5BD3A
secondary
#8E92CD
accent
#52DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5BD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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