#C5B539#C5B539

#C5B539 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.5% C 0.140 H 101.8°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#C5B539
RGBrgb(197, 181, 57)
HSLhsl(53, 55%, 50%)
HSVhsv(53, 71%, 77%)
CMYKcmyk(0%, 8.1%, 71.1%, 22.7%)
CIE-LABlab(73.03, -8.17, 61.86)
CIE-LCHlch(73.03, 62.40, 97.52°)
OKLaboklab(76.47% -0.0287 0.1374)
OKLCHoklch(76.47% 0.14 101.8)
XYZxyz(40.2901, 45.2152, 10.4753)
Luminance0.4521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B539 #3949C5
analogous
#C56F39 #C5B539 #8FC539
triadic
#C5B539 #39C5B5 #B539C5
tetradic
#C5B539 #39C56F #3949C5 #C5398F
square
#C5B539 #39C56F #3949C5 #C5398F
split-complementary
#C5B539 #398FC5 #6F39C5
monochromatic
#665E1E #96892B #C5B539 #D3C768 #E1D997

Accessibility & contrast

On white

2.09
#C5B539 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#C5B539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B539
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B539#FFFFFF#000000##000000
##C5B5391.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF25
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#D4A89C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c5b539;
/* rgb */ color: rgb(197, 181, 57);
/* oklch */ color: oklch(76.5% 0.140 101.8);
Tailwind
colors: {
  custom: {
    50: '#daca77',
    500: '#c5b539',
    950: '#000000',
  },
}
SCSS
$custom: #c5b539;
$custom-light: #daca77;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b539",
  "rgb": {
    "r": 197,
    "g": 181,
    "b": 57
  },
  "hsl": {
    "h": 53.143,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76474,
    "c": 0.14034,
    "h": 101.8
  },
  "luminance": 0.45213
}

Semantic roles & 50–950 ramp

primary
#C5B539
secondary
#8D94CD
accent
#5ADE49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B539

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

Preview Lab → · Contrast checker → · Palette generator →

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