#C5B33A#C5B33A

#C5B33A is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.1% C 0.138 H 100.6°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#C5B33A
RGBrgb(197, 179, 58)
HSLhsl(52, 55%, 50%)
HSVhsv(52, 71%, 77%)
CMYKcmyk(0%, 9.1%, 70.6%, 22.7%)
CIE-LABlab(72.51, -7.08, 60.96)
CIE-LCHlch(72.51, 61.37, 96.62°)
OKLaboklab(76.06% -0.0255 0.1357)
OKLCHoklch(76.06% 0.138 100.6)
XYZxyz(39.9116, 44.4178, 10.4734)
Luminance0.4442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B33A #3A4CC5
analogous
#C56D3A #C5B33A #92C53A
triadic
#C5B33A #3AC5B3 #B33AC5
tetradic
#C5B33A #3AC56D #3A4CC5 #C53A92
square
#C5B33A #3AC56D #3A4CC5 #C53A92
split-complementary
#C5B33A #3A92C5 #6D3AC5
monochromatic
#665D1E #96882C #C5B33A #D3C569 #E1D799

Accessibility & contrast

On white

2.12
#C5B33A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#C5B33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B33A
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B33A#FFFFFF#000000##000000
##C5B33A1.002.129.889.88
#FFFFFF2.121.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE27
Deuteranopia (green-blind)
#C9B542
Tritanopia (blue-blind)
#D4A69B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c5b33a;
/* rgb */ color: rgb(197, 179, 58);
/* oklch */ color: oklch(76.1% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#dac978',
    500: '#c5b33a',
    950: '#000000',
  },
}
SCSS
$custom: #c5b33a;
$custom-light: #dac978;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b33a",
  "rgb": {
    "r": 197,
    "g": 179,
    "b": 58
  },
  "hsl": {
    "h": 52.23,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.76058,
    "c": 0.13803,
    "h": 100.6
  },
  "luminance": 0.44416
}

Semantic roles & 50–950 ramp

primary
#C5B33A
secondary
#8E96CD
accent
#5DDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B33A

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

Preview Lab → · Contrast checker → · Palette generator →

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