#C5AA33#C5AA33

#C5AA33 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.136 H 95.8°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#C5AA33
RGBrgb(197, 170, 51)
HSLhsl(49, 59%, 49%)
HSVhsv(49, 74%, 77%)
CMYKcmyk(0%, 13.7%, 74.1%, 22.7%)
CIE-LABlab(70.08, -2.68, 61.24)
CIE-LCHlch(70.08, 61.29, 92.51°)
OKLaboklab(74.12% -0.0137 0.1349)
OKLCHoklch(74.12% 0.136 95.8)
XYZxyz(38.0002, 40.8608, 9.0167)
Luminance0.4086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AA33 #334EC5
analogous
#C56133 #C5AA33 #97C533
triadic
#C5AA33 #33C5AA #AA33C5
tetradic
#C5AA33 #33C561 #334EC5 #C53397
square
#C5AA33 #33C561 #334EC5 #C53397
split-complementary
#C5AA33 #3397C5 #6133C5
monochromatic
#64561A #948026 #C5AA33 #D6C05F #E2D390

Accessibility & contrast

On white

2.29
#C5AA33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#C5AA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AA33
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AA33#FFFFFF#000000##000000
##C5AA331.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA61E
Deuteranopia (green-blind)
#C3AF3A
Tritanopia (blue-blind)
#D59D93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c5aa33;
/* rgb */ color: rgb(197, 170, 51);
/* oklch */ color: oklch(74.1% 0.136 95.8);
Tailwind
colors: {
  custom: {
    50: '#dbc273',
    500: '#c5aa33',
    950: '#000000',
  },
}
SCSS
$custom: #c5aa33;
$custom-light: #dbc273;
$custom-dark: #000000;
JSON
{
  "hex": "#c5aa33",
  "rgb": {
    "r": 197,
    "g": 170,
    "b": 51
  },
  "hsl": {
    "h": 48.904,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74119,
    "c": 0.13564,
    "h": 95.8
  },
  "luminance": 0.40859
}

Semantic roles & 50–950 ramp

primary
#C5AA33
secondary
#8794CD
accent
#63E246
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#151209
muted
#84817B

Preview Lab

Preview with #C5AA33

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

Preview Lab → · Contrast checker → · Palette generator →

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