#C4A940#C4A940

#C4A940 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.9% C 0.126 H 94.6°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#C4A940
RGBrgb(196, 169, 64)
HSLhsl(48, 53%, 51%)
HSVhsv(48, 67%, 77%)
CMYKcmyk(0%, 13.8%, 67.3%, 23.1%)
CIE-LABlab(69.81, -1.93, 55.75)
CIE-LCHlch(69.81, 55.78, 91.98°)
OKLaboklab(73.92% -0.0101 0.1257)
OKLCHoklch(73.92% 0.126 94.6)
XYZxyz(37.8802, 40.4839, 10.6684)
Luminance0.4048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A940 #405BC4
analogous
#C46740 #C4A940 #9DC440
triadic
#C4A940 #40C4A9 #A940C4
tetradic
#C4A940 #40C467 #405BC4 #C4409D
square
#C4A940 #40C467 #405BC4 #C4409D
split-complementary
#C4A940 #409DC4 #6740C4
monochromatic
#695A20 #98822F #C4A940 #D2BE6F #E1D39E

Accessibility & contrast

On white

2.31
#C4A940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#C4A940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A940
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A940#FFFFFF#000000##000000
##C4A9401.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA633
Deuteranopia (green-blind)
#C1AE45
Tritanopia (blue-blind)
#D39C93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c4a940;
/* rgb */ color: rgb(196, 169, 64);
/* oklch */ color: oklch(73.9% 0.126 94.6);
Tailwind
colors: {
  custom: {
    50: '#d9c27a',
    500: '#c4a940',
    950: '#000000',
  },
}
SCSS
$custom: #c4a940;
$custom-light: #d9c27a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a940",
  "rgb": {
    "r": 196,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 47.727,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73917,
    "c": 0.12611,
    "h": 94.6
  },
  "luminance": 0.40482
}

Semantic roles & 50–950 ramp

primary
#C4A940
secondary
#939FCD
accent
#69DC4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C4A940

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

Preview Lab → · Contrast checker → · Palette generator →

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