#C4A422#C4A422

#C4A422 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.7% C 0.140 H 93.8°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#C4A422
RGBrgb(196, 164, 34)
HSLhsl(48, 70%, 45%)
HSVhsv(48, 83%, 77%)
CMYKcmyk(0%, 16.3%, 82.7%, 23.1%)
CIE-LABlab(68.32, -0.57, 65.21)
CIE-LCHlch(68.32, 65.21, 90.50°)
OKLaboklab(72.68% -0.0093 0.1401)
OKLCHoklch(72.68% 0.14 93.8)
XYZxyz(36.3313, 38.4044, 7.0122)
Luminance0.3840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A422 #2242C4
analogous
#C45322 #C4A422 #93C422
triadic
#C4A422 #22C4A4 #A422C4
tetradic
#C4A422 #22C453 #2242C4 #C42293
square
#C4A422 #22C453 #2242C4 #C42293
split-complementary
#C4A422 #2293C4 #5322C4
monochromatic
#5C4D10 #907819 #C4A422 #DFC045 #E8D279

Accessibility & contrast

On white

2.42
#C4A422 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#C4A422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A422
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A422#FFFFFF#000000##000000
##C4A4221.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#BFAB2C
Tritanopia (blue-blind)
#D4968C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c4a422;
/* rgb */ color: rgb(196, 164, 34);
/* oklch */ color: oklch(72.7% 0.140 93.8);
Tailwind
colors: {
  custom: {
    50: '#dbbe6a',
    500: '#c4a422',
    950: '#000000',
  },
}
SCSS
$custom: #c4a422;
$custom-light: #dbbe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a422",
  "rgb": {
    "r": 196,
    "g": 164,
    "b": 34
  },
  "hsl": {
    "h": 48.148,
    "s": 70.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72677,
    "c": 0.14037,
    "h": 93.8
  },
  "luminance": 0.38402
}

Semantic roles & 50–950 ramp

primary
#C4A422
secondary
#7385CF
accent
#5EED3B
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #C4A422

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

Preview Lab → · Contrast checker → · Palette generator →

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