#C5A333#C5A333

#C5A333 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.7% C 0.131 H 91.4°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#C5A333
RGBrgb(197, 163, 51)
HSLhsl(46, 59%, 49%)
HSVhsv(46, 74%, 77%)
CMYKcmyk(0%, 17.3%, 74.1%, 22.7%)
CIE-LABlab(68.25, 1.04, 59.47)
CIE-LCHlch(68.25, 59.48, 89.00°)
OKLaboklab(72.67% -0.0031 0.1312)
OKLCHoklch(72.67% 0.131 91.4)
XYZxyz(36.7228, 38.3060, 8.5909)
Luminance0.3830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A333 #3355C5
analogous
#C55A33 #C5A333 #9EC533
triadic
#C5A333 #33C5A3 #A333C5
tetradic
#C5A333 #33C55A #3355C5 #C5339E
square
#C5A333 #33C55A #3355C5 #C5339E
split-complementary
#C5A333 #339EC5 #5A33C5
monochromatic
#64531A #947B26 #C5A333 #D6BA5F #E2CF90

Accessibility & contrast

On white

2.42
#C5A333 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#C5A333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A333
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A333#FFFFFF#000000##000000
##C5A3331.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A121
Deuteranopia (green-blind)
#BEAA39
Tritanopia (blue-blind)
#D5958D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c5a333;
/* rgb */ color: rgb(197, 163, 51);
/* oklch */ color: oklch(72.7% 0.131 91.4);
Tailwind
colors: {
  custom: {
    50: '#dbbd72',
    500: '#c5a333',
    950: '#000000',
  },
}
SCSS
$custom: #c5a333;
$custom-light: #dbbd72;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a333",
  "rgb": {
    "r": 197,
    "g": 163,
    "b": 51
  },
  "hsl": {
    "h": 46.027,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72671,
    "c": 0.13123,
    "h": 91.4
  },
  "luminance": 0.38304
}

Semantic roles & 50–950 ramp

primary
#C5A333
secondary
#8797CD
accent
#6AE246
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C5A333

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

Preview Lab → · Contrast checker → · Palette generator →

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