#C4AA45#C4AA45

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

Color values

HEX#C4AA45
RGBrgb(196, 170, 69)
HSLhsl(48, 52%, 52%)
HSVhsv(48, 65%, 77%)
CMYKcmyk(0%, 13.3%, 64.8%, 23.1%)
CIE-LABlab(70.12, -2.16, 53.90)
CIE-LCHlch(70.12, 53.95, 92.29°)
OKLaboklab(74.17% -0.0101 0.1226)
OKLCHoklch(74.17% 0.123 94.7)
XYZxyz(38.2156, 40.9168, 11.5139)
Luminance0.4092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AA45 #455FC4
analogous
#C46B45 #C4AA45 #9EC445
triadic
#C4AA45 #45C4AA #AA45C4
tetradic
#C4AA45 #45C46B #455FC4 #C4459E
square
#C4AA45 #45C46B #455FC4 #C4459E
split-complementary
#C4AA45 #459EC4 #6B45C4
monochromatic
#6C5D22 #9B8531 #C4AA45 #D3BF73 #E1D4A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4AA45#FFFFFF#000000##000000
##C4AA451.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)
#BBA739
Deuteranopia (green-blind)
#C1AF4A
Tritanopia (blue-blind)
#D39E95
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c4aa45;
/* rgb */ color: rgb(196, 170, 69);
/* oklch */ color: oklch(74.2% 0.123 94.7);
Tailwind
colors: {
  custom: {
    50: '#d9c37d',
    500: '#c4aa45',
    950: '#000000',
  },
}
SCSS
$custom: #c4aa45;
$custom-light: #d9c37d;
$custom-dark: #000000;
JSON
{
  "hex": "#c4aa45",
  "rgb": {
    "r": 196,
    "g": 170,
    "b": 69
  },
  "hsl": {
    "h": 47.717,
    "s": 51.837,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74171,
    "c": 0.12301,
    "h": 94.7
  },
  "luminance": 0.40915
}

Semantic roles & 50–950 ramp

primary
#C4AA45
secondary
#97A2CE
accent
#6ADB4D
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C4AA45

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

Preview Lab → · Contrast checker → · Palette generator →

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