#C4AA42#C4AA42

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

Color values

HEX#C4AA42
RGBrgb(196, 170, 66)
HSLhsl(48, 52%, 51%)
HSVhsv(48, 66%, 77%)
CMYKcmyk(0%, 13.3%, 66.3%, 23.1%)
CIE-LABlab(70.09, -2.34, 55.19)
CIE-LCHlch(70.09, 55.24, 92.43°)
OKLaboklab(74.14% -0.011 0.1248)
OKLCHoklch(74.14% 0.125 95)
XYZxyz(38.1249, 40.8805, 11.0358)
Luminance0.4088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AA42 #425CC4
analogous
#C46942 #C4AA42 #9DC442
triadic
#C4AA42 #42C4AA #AA42C4
tetradic
#C4AA42 #42C469 #425CC4 #C4429D
square
#C4AA42 #42C469 #425CC4 #C4429D
split-complementary
#C4AA42 #429DC4 #6942C4
monochromatic
#6A5C21 #998430 #C4AA42 #D3BF71 #E1D49F

Accessibility & contrast

On white

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

On black

9.18
#C4AA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4AA42
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4AA42#FFFFFF#000000##000000
##C4AA421.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4aa42;
/* rgb */ color: rgb(196, 170, 66);
/* oklch */ color: oklch(74.1% 0.125 95.0);
Tailwind
colors: {
  custom: {
    50: '#d9c37b',
    500: '#c4aa42',
    950: '#000000',
  },
}
SCSS
$custom: #c4aa42;
$custom-light: #d9c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#c4aa42",
  "rgb": {
    "r": 196,
    "g": 170,
    "b": 66
  },
  "hsl": {
    "h": 48,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74143,
    "c": 0.12533,
    "h": 95
  },
  "luminance": 0.40879
}

Semantic roles & 50–950 ramp

primary
#C4AA42
secondary
#94A0CE
accent
#69DC4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C4AA42

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

Preview Lab → · Contrast checker → · Palette generator →

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