#C4A922#C4A922

#C4A922 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.7% C 0.144 H 96.7°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#C4A922
RGBrgb(196, 169, 34)
HSLhsl(50, 70%, 45%)
HSVhsv(50, 83%, 77%)
CMYKcmyk(0%, 13.8%, 82.7%, 23.1%)
CIE-LABlab(69.63, -3.22, 66.33)
CIE-LCHlch(69.63, 66.41, 92.78°)
OKLaboklab(73.72% -0.0168 0.1425)
OKLCHoklch(73.72% 0.144 96.7)
XYZxyz(37.2437, 40.2293, 7.3164)
Luminance0.4023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A922 #223DC4
analogous
#C45822 #C4A922 #8EC422
triadic
#C4A922 #22C4A9 #A922C4
tetradic
#C4A922 #22C458 #223DC4 #C4228E
square
#C4A922 #22C458 #223DC4 #C4228E
split-complementary
#C4A922 #228EC4 #5822C4
monochromatic
#5C4F10 #907C19 #C4A922 #DFC545 #E8D579

Accessibility & contrast

On white

2.32
#C4A922 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#C4A922 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A922
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A922#FFFFFF#000000##000000
##C4A9221.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#C2AE2D
Tritanopia (blue-blind)
#D49B91
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c4a922;
/* rgb */ color: rgb(196, 169, 34);
/* oklch */ color: oklch(73.7% 0.144 96.7);
Tailwind
colors: {
  custom: {
    50: '#dac26b',
    500: '#c4a922',
    950: '#000000',
  },
}
SCSS
$custom: #c4a922;
$custom-light: #dac26b;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a922",
  "rgb": {
    "r": 196,
    "g": 169,
    "b": 34
  },
  "hsl": {
    "h": 50,
    "s": 70.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73717,
    "c": 0.14351,
    "h": 96.7
  },
  "luminance": 0.40227
}

Semantic roles & 50–950 ramp

primary
#C4A922
secondary
#7382CF
accent
#58ED3B
background
#FEFBF6
surface
#FCF7EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #C4A922

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

Preview Lab → · Contrast checker → · Palette generator →

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