#C5BD3F#C5BD3F

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

Color values

HEX#C5BD3F
RGBrgb(197, 189, 63)
HSLhsl(56, 54%, 51%)
HSVhsv(56, 68%, 77%)
CMYKcmyk(0%, 4.1%, 68%, 22.7%)
CIE-LABlab(75.22, -11.97, 61.73)
CIE-LCHlch(75.22, 62.88, 100.98°)
OKLaboklab(78.22% -0.0388 0.1382)
OKLCHoklch(78.22% 0.144 105.7)
XYZxyz(42.1224, 48.6259, 11.8686)
Luminance0.4862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BD3F #3F47C5
analogous
#C57A3F #C5BD3F #8AC53F
triadic
#C5BD3F #3FC5BD #BD3FC5
tetradic
#C5BD3F #3FC57A #3F47C5 #C53F8A
square
#C5BD3F #3FC57A #3F47C5 #C53F8A
split-complementary
#C5BD3F #3F8AC5 #7A3FC5
monochromatic
#6A6520 #99922E #C5BD3F #D3CD6E #E1DD9D

Accessibility & contrast

On white

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

On black

10.72
#C5BD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BD3F
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BD3F#FFFFFF#000000##000000
##C5BD3F1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5bd3f;
/* rgb */ color: rgb(197, 189, 63);
/* oklch */ color: oklch(78.2% 0.143 105.7);
Tailwind
colors: {
  custom: {
    50: '#dad07b',
    500: '#c5bd3f',
    950: '#000000',
  },
}
SCSS
$custom: #c5bd3f;
$custom-light: #dad07b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bd3f",
  "rgb": {
    "r": 197,
    "g": 189,
    "b": 63
  },
  "hsl": {
    "h": 56.418,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78225,
    "c": 0.1435,
    "h": 105.7
  },
  "luminance": 0.48624
}

Semantic roles & 50–950 ramp

primary
#C5BD3F
secondary
#9296CE
accent
#54DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5BD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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