#C5BD45#C5BD45

#C5BD45 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.3% C 0.139 H 105.5°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#C5BD45
RGBrgb(197, 189, 69)
HSLhsl(56, 52%, 52%)
HSVhsv(56, 65%, 77%)
CMYKcmyk(0%, 4.1%, 65%, 22.7%)
CIE-LABlab(75.26, -11.63, 59.37)
CIE-LCHlch(75.26, 60.50, 101.08°)
OKLaboklab(78.27% -0.0372 0.1341)
OKLCHoklch(78.27% 0.139 105.5)
XYZxyz(42.2993, 48.6967, 12.8003)
Luminance0.4869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BD45 #454DC5
analogous
#C57D45 #C5BD45 #8DC545
triadic
#C5BD45 #45C5BD #BD45C5
tetradic
#C5BD45 #45C57D #454DC5 #C5458D
square
#C5BD45 #45C57D #454DC5 #C5458D
split-complementary
#C5BD45 #458DC5 #7D45C5
monochromatic
#6D6922 #9C9531 #C5BD45 #D4CE74 #E2DEA2

Accessibility & contrast

On white

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

On black

10.74
#C5BD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BD45
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BD45#FFFFFF#000000##000000
##C5BD451.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5bd45;
/* rgb */ color: rgb(197, 189, 69);
/* oklch */ color: oklch(78.3% 0.139 105.5);
Tailwind
colors: {
  custom: {
    50: '#dad07f',
    500: '#c5bd45',
    950: '#000000',
  },
}
SCSS
$custom: #c5bd45;
$custom-light: #dad07f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bd45",
  "rgb": {
    "r": 197,
    "g": 189,
    "b": 69
  },
  "hsl": {
    "h": 56.25,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78274,
    "c": 0.13921,
    "h": 105.5
  },
  "luminance": 0.48695
}

Semantic roles & 50–950 ramp

primary
#C5BD45
secondary
#979ACF
accent
#55DC4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5BD45

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

Preview Lab → · Contrast checker → · Palette generator →

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