#C5BD42#C5BD42

#C5BD42 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.2% C 0.141 H 105.6°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#C5BD42
RGBrgb(197, 189, 66)
HSLhsl(56, 53%, 52%)
HSVhsv(56, 66%, 77%)
CMYKcmyk(0%, 4.1%, 66.5%, 22.7%)
CIE-LABlab(75.24, -11.81, 60.57)
CIE-LCHlch(75.24, 61.71, 101.03°)
OKLaboklab(78.25% -0.038 0.1362)
OKLCHoklch(78.25% 0.141 105.6)
XYZxyz(42.2085, 48.6604, 12.3222)
Luminance0.4866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BD42 #424AC5
analogous
#C57C42 #C5BD42 #8CC542
triadic
#C5BD42 #42C5BD #BD42C5
tetradic
#C5BD42 #42C57C #424AC5 #C5428C
square
#C5BD42 #42C57C #424AC5 #C5428C
split-complementary
#C5BD42 #428CC5 #7C42C5
monochromatic
#6C6721 #9A942F #C5BD42 #D3CD71 #E2DEA0

Accessibility & contrast

On white

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

On black

10.73
#C5BD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BD42
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BD42#FFFFFF#000000##000000
##C5BD421.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB631
Deuteranopia (green-blind)
#D0BC4A
Tritanopia (blue-blind)
#D3B1A4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c5bd42;
/* rgb */ color: rgb(197, 189, 66);
/* oklch */ color: oklch(78.2% 0.141 105.6);
Tailwind
colors: {
  custom: {
    50: '#dad07d',
    500: '#c5bd42',
    950: '#000000',
  },
}
SCSS
$custom: #c5bd42;
$custom-light: #dad07d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bd42",
  "rgb": {
    "r": 197,
    "g": 189,
    "b": 66
  },
  "hsl": {
    "h": 56.336,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.78249,
    "c": 0.1414,
    "h": 105.6
  },
  "luminance": 0.48659
}

Semantic roles & 50–950 ramp

primary
#C5BD42
secondary
#9598CE
accent
#54DC4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5BD42

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

Preview Lab → · Contrast checker → · Palette generator →

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