#C5B13D#C5B13D

#C5B13D is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.7% C 0.134 H 99.3°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#C5B13D
RGBrgb(197, 177, 61)
HSLhsl(51, 54%, 51%)
HSVhsv(51, 69%, 77%)
CMYKcmyk(0%, 10.2%, 69%, 22.7%)
CIE-LABlab(72.00, -5.88, 59.27)
CIE-LCHlch(72.00, 59.56, 95.66°)
OKLaboklab(75.66% -0.0218 0.1326)
OKLCHoklch(75.66% 0.134 99.3)
XYZxyz(39.5922, 43.6534, 10.7545)
Luminance0.4365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B13D #3D51C5
analogous
#C56D3D #C5B13D #95C53D
triadic
#C5B13D #3DC5B1 #B13DC5
tetradic
#C5B13D #3DC56D #3D51C5 #C53D95
square
#C5B13D #3DC56D #3D51C5 #C53D95
split-complementary
#C5B13D #3D95C5 #6D3DC5
monochromatic
#685E1F #98882D #C5B13D #D3C46C #E1D79B

Accessibility & contrast

On white

2.16
#C5B13D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#C5B13D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B13D
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B13D#FFFFFF#000000##000000
##C5B13D1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC2D
Deuteranopia (green-blind)
#C7B444
Tritanopia (blue-blind)
#D4A499
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c5b13d;
/* rgb */ color: rgb(197, 177, 61);
/* oklch */ color: oklch(75.7% 0.134 99.3);
Tailwind
colors: {
  custom: {
    50: '#dac879',
    500: '#c5b13d',
    950: '#000000',
  },
}
SCSS
$custom: #c5b13d;
$custom-light: #dac879;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b13d",
  "rgb": {
    "r": 197,
    "g": 177,
    "b": 61
  },
  "hsl": {
    "h": 51.176,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7566,
    "c": 0.13438,
    "h": 99.3
  },
  "luminance": 0.43652
}

Semantic roles & 50–950 ramp

primary
#C5B13D
secondary
#919ACD
accent
#60DD4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B13D

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

Preview Lab → · Contrast checker → · Palette generator →

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