#C5B541#C5B541

#C5B541 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.5% C 0.135 H 101.4°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#C5B541
RGBrgb(197, 181, 65)
HSLhsl(53, 53%, 51%)
HSVhsv(53, 67%, 77%)
CMYKcmyk(0%, 8.1%, 67%, 22.7%)
CIE-LABlab(73.09, -7.74, 58.76)
CIE-LCHlch(73.09, 59.27, 97.50°)
OKLaboklab(76.54% -0.0266 0.1322)
OKLCHoklch(76.54% 0.135 101.4)
XYZxyz(40.5057, 45.3014, 11.6104)
Luminance0.4530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B541 #4151C5
analogous
#C57341 #C5B541 #93C541
triadic
#C5B541 #41C5B5 #B541C5
tetradic
#C5B541 #41C573 #4151C5 #C54193
square
#C5B541 #41C573 #4151C5 #C54193
split-complementary
#C5B541 #4193C5 #7341C5
monochromatic
#6B6221 #9A8D2F #C5B541 #D3C770 #E2DA9F

Accessibility & contrast

On white

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

On black

10.06
#C5B541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B541
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B541#FFFFFF#000000##000000
##C5B5411.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B031
Deuteranopia (green-blind)
#CAB648
Tritanopia (blue-blind)
#D4A89D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c5b541;
/* rgb */ color: rgb(197, 181, 65);
/* oklch */ color: oklch(76.5% 0.135 101.4);
Tailwind
colors: {
  custom: {
    50: '#daca7c',
    500: '#c5b541',
    950: '#000000',
  },
}
SCSS
$custom: #c5b541;
$custom-light: #daca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b541",
  "rgb": {
    "r": 197,
    "g": 181,
    "b": 65
  },
  "hsl": {
    "h": 52.727,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76537,
    "c": 0.13486,
    "h": 101.4
  },
  "luminance": 0.453
}

Semantic roles & 50–950 ramp

primary
#C5B541
secondary
#949BCE
accent
#5DDD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B541

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

Preview Lab → · Contrast checker → · Palette generator →

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