#C4AA3B#C4AA3B

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

Color values

HEX#C4AA3B
RGBrgb(196, 170, 59)
HSLhsl(49, 54%, 50%)
HSVhsv(49, 70%, 77%)
CMYKcmyk(0%, 13.3%, 69.9%, 23.1%)
CIE-LABlab(70.04, -2.73, 58.06)
CIE-LCHlch(70.04, 58.13, 92.69°)
OKLaboklab(74.08% -0.013 0.1297)
OKLCHoklch(74.08% 0.13 95.7)
XYZxyz(37.9310, 40.8030, 10.0147)
Luminance0.4080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AA3B #3B55C4
analogous
#C4653B #C4AA3B #9AC43B
triadic
#C4AA3B #3BC4AA #AA3BC4
tetradic
#C4AA3B #3BC465 #3B55C4 #C43B9A
square
#C4AA3B #3BC465 #3B55C4 #C43B9A
split-complementary
#C4AA3B #3B9AC4 #653BC4
monochromatic
#66581F #95812D #C4AA3B #D2BE6A #E0D399

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4AA3B#FFFFFF#000000##000000
##C4AA3B1.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)
#BBA62B
Deuteranopia (green-blind)
#C2AF41
Tritanopia (blue-blind)
#D39D93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c4aa3b;
/* rgb */ color: rgb(196, 170, 59);
/* oklch */ color: oklch(74.1% 0.130 95.7);
Tailwind
colors: {
  custom: {
    50: '#dac277',
    500: '#c4aa3b',
    950: '#000000',
  },
}
SCSS
$custom: #c4aa3b;
$custom-light: #dac277;
$custom-dark: #000000;
JSON
{
  "hex": "#c4aa3b",
  "rgb": {
    "r": 196,
    "g": 170,
    "b": 59
  },
  "hsl": {
    "h": 48.613,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.74082,
    "c": 0.13039,
    "h": 95.7
  },
  "luminance": 0.40801
}

Semantic roles & 50–950 ramp

primary
#C4AA3B
secondary
#8F9ACC
accent
#66DD4B
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C4AA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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