#C4AA40#C4AA40

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

Color values

HEX#C4AA40
RGBrgb(196, 170, 64)
HSLhsl(48, 53%, 51%)
HSVhsv(48, 67%, 77%)
CMYKcmyk(0%, 13.3%, 67.3%, 23.1%)
CIE-LABlab(70.08, -2.46, 56.02)
CIE-LCHlch(70.08, 56.08, 92.51°)
OKLaboklab(74.13% -0.0116 0.1263)
OKLCHoklch(74.13% 0.127 95.2)
XYZxyz(38.0669, 40.8574, 10.7307)
Luminance0.4086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AA40 #405AC4
analogous
#C46840 #C4AA40 #9CC440
triadic
#C4AA40 #40C4AA #AA40C4
tetradic
#C4AA40 #40C468 #405AC4 #C4409C
square
#C4AA40 #40C468 #405AC4 #C4409C
split-complementary
#C4AA40 #409CC4 #6840C4
monochromatic
#695B20 #98832F #C4AA40 #D2BF6F #E1D49E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4AA40#FFFFFF#000000##000000
##C4AA401.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)
#BBA732
Deuteranopia (green-blind)
#C2AF46
Tritanopia (blue-blind)
#D39D94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c4aa40;
/* rgb */ color: rgb(196, 170, 64);
/* oklch */ color: oklch(74.1% 0.127 95.2);
Tailwind
colors: {
  custom: {
    50: '#d9c37a',
    500: '#c4aa40',
    950: '#000000',
  },
}
SCSS
$custom: #c4aa40;
$custom-light: #d9c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4aa40",
  "rgb": {
    "r": 196,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 48.182,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74125,
    "c": 0.12682,
    "h": 95.2
  },
  "luminance": 0.40855
}

Semantic roles & 50–950 ramp

primary
#C4AA40
secondary
#939ECD
accent
#68DC4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C4AA40

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

Preview Lab → · Contrast checker → · Palette generator →

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