#C5B13A#C5B13A

#C5B13A is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.6% C 0.136 H 99.5°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#C5B13A
RGBrgb(197, 177, 58)
HSLhsl(51, 55%, 50%)
HSVhsv(51, 71%, 77%)
CMYKcmyk(0%, 10.2%, 70.6%, 22.7%)
CIE-LABlab(71.97, -6.03, 60.43)
CIE-LCHlch(71.97, 60.73, 95.70°)
OKLaboklab(75.64% -0.0225 0.1345)
OKLCHoklch(75.64% 0.136 99.5)
XYZxyz(39.5137, 43.6219, 10.3407)
Luminance0.4362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B13A #3A4EC5
analogous
#C56C3A #C5B13A #93C53A
triadic
#C5B13A #3AC5B1 #B13AC5
tetradic
#C5B13A #3AC56C #3A4EC5 #C53A93
square
#C5B13A #3AC56C #3A4EC5 #C53A93
split-complementary
#C5B13A #3A93C5 #6C3AC5
monochromatic
#665C1E #96872C #C5B13A #D3C469 #E1D699

Accessibility & contrast

On white

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

On black

9.72
#C5B13A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B13A
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B13A#FFFFFF#000000##000000
##C5B13A1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5b13a;
/* rgb */ color: rgb(197, 177, 58);
/* oklch */ color: oklch(75.6% 0.136 99.5);
Tailwind
colors: {
  custom: {
    50: '#dac877',
    500: '#c5b13a',
    950: '#000000',
  },
}
SCSS
$custom: #c5b13a;
$custom-light: #dac877;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b13a",
  "rgb": {
    "r": 197,
    "g": 177,
    "b": 58
  },
  "hsl": {
    "h": 51.367,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.75637,
    "c": 0.13641,
    "h": 99.5
  },
  "luminance": 0.4362
}

Semantic roles & 50–950 ramp

primary
#C5B13A
secondary
#8E97CD
accent
#5FDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B13A

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

Preview Lab → · Contrast checker → · Palette generator →

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