#C4AA3A#C4AA3A

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

Color values

HEX#C4AA3A
RGBrgb(196, 170, 58)
HSLhsl(49, 54%, 50%)
HSVhsv(49, 70%, 77%)
CMYKcmyk(0%, 13.3%, 70.4%, 23.1%)
CIE-LABlab(70.03, -2.78, 58.46)
CIE-LCHlch(70.03, 58.52, 92.73°)
OKLaboklab(74.07% -0.0132 0.1304)
OKLCHoklch(74.07% 0.131 95.8)
XYZxyz(37.9053, 40.7927, 9.8794)
Luminance0.4079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AA3A #3A54C4
analogous
#C4653A #C4AA3A #99C43A
triadic
#C4AA3A #3AC4AA #AA3AC4
tetradic
#C4AA3A #3AC465 #3A54C4 #C43A99
square
#C4AA3A #3AC465 #3A54C4 #C43A99
split-complementary
#C4AA3A #3A99C4 #653AC4
monochromatic
#66581E #95812C #C4AA3A #D3BF69 #E0D398

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4AA3A#FFFFFF#000000##000000
##C4AA3A1.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)
#BBA62A
Deuteranopia (green-blind)
#C2AF40
Tritanopia (blue-blind)
#D39D93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c4aa3a;
/* rgb */ color: rgb(196, 170, 58);
/* oklch */ color: oklch(74.1% 0.131 95.8);
Tailwind
colors: {
  custom: {
    50: '#dac277',
    500: '#c4aa3a',
    950: '#000000',
  },
}
SCSS
$custom: #c4aa3a;
$custom-light: #dac277;
$custom-dark: #000000;
JSON
{
  "hex": "#c4aa3a",
  "rgb": {
    "r": 196,
    "g": 170,
    "b": 58
  },
  "hsl": {
    "h": 48.696,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74074,
    "c": 0.13107,
    "h": 95.8
  },
  "luminance": 0.40791
}

Semantic roles & 50–950 ramp

primary
#C4AA3A
secondary
#8E99CC
accent
#66DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C4AA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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