#C4A622#C4A622

#C4A622 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 73.1% C 0.142 H 95.0°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#C4A622
RGBrgb(196, 166, 34)
HSLhsl(49, 70%, 45%)
HSVhsv(49, 83%, 77%)
CMYKcmyk(0%, 15.3%, 82.7%, 23.1%)
CIE-LABlab(68.84, -1.63, 65.66)
CIE-LCHlch(68.84, 65.68, 91.42°)
OKLaboklab(73.09% -0.0123 0.141)
OKLCHoklch(73.09% 0.142 95)
XYZxyz(36.6920, 39.1259, 7.1325)
Luminance0.3912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A622 #2240C4
analogous
#C45522 #C4A622 #91C422
triadic
#C4A622 #22C4A6 #A622C4
tetradic
#C4A622 #22C455 #2240C4 #C42291
square
#C4A622 #22C455 #2240C4 #C42291
split-complementary
#C4A622 #2291C4 #5522C4
monochromatic
#5C4E10 #907A19 #C4A622 #DFC245 #E8D379

Accessibility & contrast

On white

2.38
#C4A622 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#C4A622 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A622
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A622#FFFFFF#000000##000000
##C4A6221.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A300
Deuteranopia (green-blind)
#C0AC2C
Tritanopia (blue-blind)
#D4988E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c4a622;
/* rgb */ color: rgb(196, 166, 34);
/* oklch */ color: oklch(73.1% 0.142 95.0);
Tailwind
colors: {
  custom: {
    50: '#dbc06b',
    500: '#c4a622',
    950: '#000000',
  },
}
SCSS
$custom: #c4a622;
$custom-light: #dbc06b;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a622",
  "rgb": {
    "r": 196,
    "g": 166,
    "b": 34
  },
  "hsl": {
    "h": 48.889,
    "s": 70.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73091,
    "c": 0.14158,
    "h": 95
  },
  "luminance": 0.39124
}

Semantic roles & 50–950 ramp

primary
#C4A622
secondary
#7384CF
accent
#5CED3B
background
#FEFBF6
surface
#FCF7EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #C4A622

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

Preview Lab → · Contrast checker → · Palette generator →

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