#C4AA25#C4AA25

#C4AA25 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.9% C 0.143 H 97.2°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#C4AA25
RGBrgb(196, 170, 37)
HSLhsl(50, 68%, 46%)
HSVhsv(50, 81%, 77%)
CMYKcmyk(0%, 13.3%, 81.1%, 23.1%)
CIE-LABlab(69.91, -3.66, 65.71)
CIE-LCHlch(69.91, 65.81, 93.19°)
OKLaboklab(73.94% -0.0178 0.1418)
OKLCHoklch(73.94% 0.143 97.2)
XYZxyz(37.4756, 40.6208, 7.6166)
Luminance0.4062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AA25 #253FC4
analogous
#C45B25 #C4AA25 #8EC425
triadic
#C4AA25 #25C4AA #AA25C4
tetradic
#C4AA25 #25C45B #253FC4 #C4258E
square
#C4AA25 #25C45B #253FC4 #C4258E
split-complementary
#C4AA25 #258EC4 #5B25C4
monochromatic
#5D5112 #917D1B #C4AA25 #DDC549 #E6D57D

Accessibility & contrast

On white

2.30
#C4AA25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#C4AA25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4AA25
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4AA25#FFFFFF#000000##000000
##C4AA251.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#C3AE2F
Tritanopia (blue-blind)
#D49C92
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c4aa25;
/* rgb */ color: rgb(196, 170, 37);
/* oklch */ color: oklch(73.9% 0.143 97.2);
Tailwind
colors: {
  custom: {
    50: '#dac26c',
    500: '#c4aa25',
    950: '#000000',
  },
}
SCSS
$custom: #c4aa25;
$custom-light: #dac26c;
$custom-dark: #000000;
JSON
{
  "hex": "#c4aa25",
  "rgb": {
    "r": 196,
    "g": 170,
    "b": 37
  },
  "hsl": {
    "h": 50.189,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7394,
    "c": 0.14288,
    "h": 97.2
  },
  "luminance": 0.40619
}

Semantic roles & 50–950 ramp

primary
#C4AA25
secondary
#7685CF
accent
#59EB3D
background
#FEFBF6
surface
#FCF7EC
border
#D5D0C7
text
#161208
muted
#84817B

Preview Lab

Preview with #C4AA25

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

Preview Lab → · Contrast checker → · Palette generator →

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