#C4AA3C#C4AA3C

#C4AA3C is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.1% C 0.130 H 95.6°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#C4AA3C
RGBrgb(196, 170, 60)
HSLhsl(49, 54%, 50%)
HSVhsv(49, 69%, 77%)
CMYKcmyk(0%, 13.3%, 69.4%, 23.1%)
CIE-LABlab(70.05, -2.68, 57.66)
CIE-LCHlch(70.05, 57.72, 92.66°)
OKLaboklab(74.09% -0.0127 0.1291)
OKLCHoklch(74.09% 0.13 95.6)
XYZxyz(37.9572, 40.8134, 10.1526)
Luminance0.4081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AA3C #3C56C4
analogous
#C4663C #C4AA3C #9AC43C
triadic
#C4AA3C #3CC4AA #AA3CC4
tetradic
#C4AA3C #3CC466 #3C56C4 #C43C9A
square
#C4AA3C #3CC466 #3C56C4 #C43C9A
split-complementary
#C4AA3C #3C9AC4 #663CC4
monochromatic
#67591F #96822D #C4AA3C #D2BE6B #E0D39A

Accessibility & contrast

On white

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

On black

9.16
#C4AA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4AA3C
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4AA3C#FFFFFF#000000##000000
##C4AA3C1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62D
Deuteranopia (green-blind)
#C2AF42
Tritanopia (blue-blind)
#D39D94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c4aa3c;
/* rgb */ color: rgb(196, 170, 60);
/* oklch */ color: oklch(74.1% 0.130 95.6);
Tailwind
colors: {
  custom: {
    50: '#d9c278',
    500: '#c4aa3c',
    950: '#000000',
  },
}
SCSS
$custom: #c4aa3c;
$custom-light: #d9c278;
$custom-dark: #000000;
JSON
{
  "hex": "#c4aa3c",
  "rgb": {
    "r": 196,
    "g": 170,
    "b": 60
  },
  "hsl": {
    "h": 48.529,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74091,
    "c": 0.12969,
    "h": 95.6
  },
  "luminance": 0.40811
}

Semantic roles & 50–950 ramp

primary
#C4AA3C
secondary
#909BCC
accent
#67DD4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C4AA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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