#C5BD31#C5BD31

#C5BD31 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.1% C 0.152 H 106.1°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#C5BD31
RGBrgb(197, 189, 49)
HSLhsl(57, 60%, 48%)
HSVhsv(57, 75%, 77%)
CMYKcmyk(0%, 4.1%, 75.1%, 22.7%)
CIE-LABlab(75.13, -12.64, 66.70)
CIE-LCHlch(75.13, 67.89, 100.73°)
OKLaboklab(78.13% -0.0421 0.1462)
OKLCHoklch(78.13% 0.152 106.1)
XYZxyz(41.7797, 48.4888, 10.0637)
Luminance0.4849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BD31 #3139C5
analogous
#C57331 #C5BD31 #83C531
triadic
#C5BD31 #31C5BD #BD31C5
tetradic
#C5BD31 #31C573 #3139C5 #C53183
square
#C5BD31 #31C573 #3139C5 #C53183
split-complementary
#C5BD31 #3183C5 #7331C5
monochromatic
#635F19 #948E25 #C5BD31 #D7D05D #E3DE8E

Accessibility & contrast

On white

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

On black

10.70
#C5BD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BD31
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BD31#FFFFFF#000000##000000
##C5BD311.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB611
Deuteranopia (green-blind)
#D1BC3C
Tritanopia (blue-blind)
#D4B0A3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c5bd31;
/* rgb */ color: rgb(197, 189, 49);
/* oklch */ color: oklch(78.1% 0.152 106.1);
Tailwind
colors: {
  custom: {
    50: '#dad074',
    500: '#c5bd31',
    950: '#000000',
  },
}
SCSS
$custom: #c5bd31;
$custom-light: #dad074;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bd31",
  "rgb": {
    "r": 197,
    "g": 189,
    "b": 49
  },
  "hsl": {
    "h": 56.757,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.78129,
    "c": 0.15209,
    "h": 106.1
  },
  "luminance": 0.48487
}

Semantic roles & 50–950 ramp

primary
#C5BD31
secondary
#8589CD
accent
#4DE344
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C5BD31

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

Preview Lab → · Contrast checker → · Palette generator →

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