#C4A722#C4A722

#C4A722 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.3% C 0.142 H 95.6°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#C4A722
RGBrgb(196, 167, 34)
HSLhsl(49, 70%, 45%)
HSVhsv(49, 83%, 77%)
CMYKcmyk(0%, 14.8%, 82.7%, 23.1%)
CIE-LABlab(69.11, -2.16, 65.88)
CIE-LCHlch(69.11, 65.92, 91.88°)
OKLaboklab(73.3% -0.0138 0.1415)
OKLCHoklch(73.3% 0.142 95.6)
XYZxyz(36.8745, 39.4908, 7.1933)
Luminance0.3949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A722 #223FC4
analogous
#C45622 #C4A722 #90C422
triadic
#C4A722 #22C4A7 #A722C4
tetradic
#C4A722 #22C456 #223FC4 #C42290
square
#C4A722 #22C456 #223FC4 #C42290
split-complementary
#C4A722 #2290C4 #5622C4
monochromatic
#5C4E10 #907B19 #C4A722 #DFC345 #E8D479

Accessibility & contrast

On white

2.36
#C4A722 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#C4A722 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A722
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A722#FFFFFF#000000##000000
##C4A7221.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#C1AD2C
Tritanopia (blue-blind)
#D4998F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c4a722;
/* rgb */ color: rgb(196, 167, 34);
/* oklch */ color: oklch(73.3% 0.142 95.6);
Tailwind
colors: {
  custom: {
    50: '#dbc06b',
    500: '#c4a722',
    950: '#000000',
  },
}
SCSS
$custom: #c4a722;
$custom-light: #dbc06b;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a722",
  "rgb": {
    "r": 196,
    "g": 167,
    "b": 34
  },
  "hsl": {
    "h": 49.259,
    "s": 70.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73299,
    "c": 0.1422,
    "h": 95.6
  },
  "luminance": 0.39489
}

Semantic roles & 50–950 ramp

primary
#C4A722
secondary
#7383CF
accent
#5BED3B
background
#FEFBF6
surface
#FCF7EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #C4A722

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

Preview Lab → · Contrast checker → · Palette generator →

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