#C4A22D#C4A22D

#C4A22D is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.3% C 0.134 H 91.8°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#C4A22D
RGBrgb(196, 162, 45)
HSLhsl(46, 63%, 47%)
HSVhsv(46, 77%, 77%)
CMYKcmyk(0%, 17.3%, 77%, 23.1%)
CIE-LABlab(67.85, 0.88, 61.27)
CIE-LCHlch(67.85, 61.27, 89.17°)
OKLaboklab(72.32% -0.0042 0.1338)
OKLCHoklch(72.32% 0.134 91.8)
XYZxyz(36.1610, 37.7681, 7.8675)
Luminance0.3777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A22D #2D4FC4
analogous
#C4562D #C4A22D #9BC42D
triadic
#C4A22D #2DC4A2 #A22DC4
tetradic
#C4A22D #2DC456 #2D4FC4 #C42D9B
square
#C4A22D #2DC456 #2D4FC4 #C42D9B
split-complementary
#C4A22D #2D9BC4 #562DC4
monochromatic
#605016 #927922 #C4A22D #D8BB56 #E4CF88

Accessibility & contrast

On white

2.46
#C4A22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#C4A22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A22D
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A22D#FFFFFF#000000##000000
##C4A22D1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A016
Deuteranopia (green-blind)
#BDA934
Tritanopia (blue-blind)
#D4948C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c4a22d;
/* rgb */ color: rgb(196, 162, 45);
/* oklch */ color: oklch(72.3% 0.134 91.8);
Tailwind
colors: {
  custom: {
    50: '#dabd6f',
    500: '#c4a22d',
    950: '#000000',
  },
}
SCSS
$custom: #c4a22d;
$custom-light: #dabd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a22d",
  "rgb": {
    "r": 196,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 46.49,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72324,
    "c": 0.1339,
    "h": 91.8
  },
  "luminance": 0.37766
}

Semantic roles & 50–950 ramp

primary
#C4A22D
secondary
#8091CD
accent
#67E642
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C4A22D

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

Preview Lab → · Contrast checker → · Palette generator →

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