#C5B041#C5B041

#C5B041 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.5% C 0.131 H 98.4°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#C5B041
RGBrgb(197, 176, 65)
HSLhsl(50, 53%, 51%)
HSVhsv(50, 67%, 77%)
CMYKcmyk(0%, 10.7%, 67%, 22.7%)
CIE-LABlab(71.76, -5.13, 57.39)
CIE-LCHlch(71.76, 57.62, 95.11°)
OKLaboklab(75.48% -0.0192 0.1293)
OKLCHoklch(75.48% 0.131 98.4)
XYZxyz(39.5072, 43.3045, 11.2776)
Luminance0.4330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B041 #4156C5
analogous
#C56E41 #C5B041 #98C541
triadic
#C5B041 #41C5B0 #B041C5
tetradic
#C5B041 #41C56E #4156C5 #C54198
square
#C5B041 #41C56E #4156C5 #C54198
split-complementary
#C5B041 #4198C5 #6E41C5
monochromatic
#6B5F21 #9A892F #C5B041 #D3C370 #E2D79F

Accessibility & contrast

On white

2.17
#C5B041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#C5B041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B041
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B041#FFFFFF#000000##000000
##C5B0411.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC33
Deuteranopia (green-blind)
#C6B347
Tritanopia (blue-blind)
#D4A399
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c5b041;
/* rgb */ color: rgb(197, 176, 65);
/* oklch */ color: oklch(75.5% 0.131 98.4);
Tailwind
colors: {
  custom: {
    50: '#dac77b',
    500: '#c5b041',
    950: '#000000',
  },
}
SCSS
$custom: #c5b041;
$custom-light: #dac77b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b041",
  "rgb": {
    "r": 197,
    "g": 176,
    "b": 65
  },
  "hsl": {
    "h": 50.455,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75483,
    "c": 0.13072,
    "h": 98.4
  },
  "luminance": 0.43303
}

Semantic roles & 50–950 ramp

primary
#C5B041
secondary
#949DCE
accent
#62DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B041

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

Preview Lab → · Contrast checker → · Palette generator →

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