#C5AA34#C5AA34

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

Color values

HEX#C5AA34
RGBrgb(197, 170, 52)
HSLhsl(49, 58%, 49%)
HSVhsv(49, 74%, 77%)
CMYKcmyk(0%, 13.7%, 73.6%, 22.7%)
CIE-LABlab(70.08, -2.64, 60.87)
CIE-LCHlch(70.08, 60.93, 92.48°)
OKLaboklab(74.13% -0.0135 0.1344)
OKLCHoklch(74.13% 0.135 95.7)
XYZxyz(38.0225, 40.8698, 9.1341)
Luminance0.4087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AA34 #344FC5
analogous
#C56234 #C5AA34 #98C534
triadic
#C5AA34 #34C5AA #AA34C5
tetradic
#C5AA34 #34C562 #344FC5 #C53498
square
#C5AA34 #34C562 #344FC5 #C53498
split-complementary
#C5AA34 #3498C5 #6234C5
monochromatic
#64561A #958027 #C5AA34 #D5C061 #E2D391

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5AA34#FFFFFF#000000##000000
##C5AA341.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)
#BCA620
Deuteranopia (green-blind)
#C3AF3B
Tritanopia (blue-blind)
#D59D93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c5aa34;
/* rgb */ color: rgb(197, 170, 52);
/* oklch */ color: oklch(74.1% 0.135 95.7);
Tailwind
colors: {
  custom: {
    50: '#dbc274',
    500: '#c5aa34',
    950: '#000000',
  },
}
SCSS
$custom: #c5aa34;
$custom-light: #dbc274;
$custom-dark: #000000;
JSON
{
  "hex": "#c5aa34",
  "rgb": {
    "r": 197,
    "g": 170,
    "b": 52
  },
  "hsl": {
    "h": 48.828,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74126,
    "c": 0.13503,
    "h": 95.7
  },
  "luminance": 0.40868
}

Semantic roles & 50–950 ramp

primary
#C5AA34
secondary
#8895CD
accent
#63E146
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AA34

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

Preview Lab → · Contrast checker → · Palette generator →

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