#C4A522#C4A522

#C4A522 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.9% C 0.141 H 94.4°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#C4A522
RGBrgb(196, 165, 34)
HSLhsl(49, 70%, 45%)
HSVhsv(49, 83%, 77%)
CMYKcmyk(0%, 15.8%, 82.7%, 23.1%)
CIE-LABlab(68.58, -1.10, 65.43)
CIE-LCHlch(68.58, 65.44, 90.96°)
OKLaboklab(72.88% -0.0108 0.1406)
OKLCHoklch(72.88% 0.141 94.4)
XYZxyz(36.5109, 38.7637, 7.0721)
Luminance0.3876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A522 #2241C4
analogous
#C45422 #C4A522 #92C422
triadic
#C4A522 #22C4A5 #A522C4
tetradic
#C4A522 #22C454 #2241C4 #C42292
square
#C4A522 #22C454 #2241C4 #C42292
split-complementary
#C4A522 #2292C4 #5422C4
monochromatic
#5C4D10 #907919 #C4A522 #DFC145 #E8D279

Accessibility & contrast

On white

2.40
#C4A522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#C4A522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A522
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A522#FFFFFF#000000##000000
##C4A5221.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4a522;
/* rgb */ color: rgb(196, 165, 34);
/* oklch */ color: oklch(72.9% 0.141 94.4);
Tailwind
colors: {
  custom: {
    50: '#dbbf6b',
    500: '#c4a522',
    950: '#000000',
  },
}
SCSS
$custom: #c4a522;
$custom-light: #dbbf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a522",
  "rgb": {
    "r": 196,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 48.519,
    "s": 70.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72884,
    "c": 0.14097,
    "h": 94.4
  },
  "luminance": 0.38762
}

Semantic roles & 50–950 ramp

primary
#C4A522
secondary
#7384CF
accent
#5DED3B
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #C4A522

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

Preview Lab → · Contrast checker → · Palette generator →

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