#C5A533#C5A533

#C5A533 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 73.1% C 0.132 H 92.7°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#C5A533
RGBrgb(197, 165, 51)
HSLhsl(47, 59%, 49%)
HSVhsv(47, 74%, 77%)
CMYKcmyk(0%, 16.2%, 74.1%, 22.7%)
CIE-LABlab(68.77, -0.03, 59.97)
CIE-LCHlch(68.77, 59.97, 90.03°)
OKLaboklab(73.08% -0.0062 0.1323)
OKLCHoklch(73.08% 0.132 92.7)
XYZxyz(37.0807, 39.0218, 8.7102)
Luminance0.3902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A533 #3353C5
analogous
#C55C33 #C5A533 #9CC533
triadic
#C5A533 #33C5A5 #A533C5
tetradic
#C5A533 #33C55C #3353C5 #C5339C
square
#C5A533 #33C55C #3353C5 #C5339C
split-complementary
#C5A533 #339CC5 #5C33C5
monochromatic
#64541A #947C26 #C5A533 #D6BC5F #E2D090

Accessibility & contrast

On white

2.39
#C5A533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#C5A533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A533
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A533#FFFFFF#000000##000000
##C5A5331.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A220
Deuteranopia (green-blind)
#BFAC3A
Tritanopia (blue-blind)
#D5978F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c5a533;
/* rgb */ color: rgb(197, 165, 51);
/* oklch */ color: oklch(73.1% 0.132 92.7);
Tailwind
colors: {
  custom: {
    50: '#dbbf73',
    500: '#c5a533',
    950: '#000000',
  },
}
SCSS
$custom: #c5a533;
$custom-light: #dbbf73;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a533",
  "rgb": {
    "r": 197,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 46.849,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73083,
    "c": 0.1324,
    "h": 92.7
  },
  "luminance": 0.3902
}

Semantic roles & 50–950 ramp

primary
#C5A533
secondary
#8796CD
accent
#68E246
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C5A533

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

Preview Lab → · Contrast checker → · Palette generator →

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