#C4A22E#C4A22E

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

Color values

HEX#C4A22E
RGBrgb(196, 162, 46)
HSLhsl(46, 62%, 47%)
HSVhsv(46, 77%, 77%)
CMYKcmyk(0%, 17.3%, 76.5%, 23.1%)
CIE-LABlab(67.86, 0.92, 60.92)
CIE-LCHlch(67.86, 60.92, 89.13°)
OKLaboklab(72.33% -0.0039 0.1333)
OKLCHoklch(72.33% 0.133 91.7)
XYZxyz(36.1805, 37.7759, 7.9701)
Luminance0.3777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A22E #2E50C4
analogous
#C4572E #C4A22E #9BC42E
triadic
#C4A22E #2EC4A2 #A22EC4
tetradic
#C4A22E #2EC457 #2E50C4 #C42E9B
square
#C4A22E #2EC457 #2E50C4 #C42E9B
split-complementary
#C4A22E #2E9BC4 #572EC4
monochromatic
#615017 #927922 #C4A22E #D8BB58 #E3CF89

Accessibility & contrast

On white

2.45
#C4A22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4A22E#FFFFFF#000000##000000
##C4A22E1.002.458.558.55
#FFFFFF2.451.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4a22e;
/* rgb */ color: rgb(196, 162, 46);
/* oklch */ color: oklch(72.3% 0.133 91.7);
Tailwind
colors: {
  custom: {
    50: '#dabd70',
    500: '#c4a22e',
    950: '#000000',
  },
}
SCSS
$custom: #c4a22e;
$custom-light: #dabd70;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a22e",
  "rgb": {
    "r": 196,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 46.4,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72331,
    "c": 0.13336,
    "h": 91.7
  },
  "luminance": 0.37774
}

Semantic roles & 50–950 ramp

primary
#C4A22E
secondary
#8192CD
accent
#68E543
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C4A22E

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

Preview Lab → · Contrast checker → · Palette generator →

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