#A4AF22#A4AF22

#A4AF22 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.2% C 0.153 H 114.3°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#A4AF22
RGBrgb(164, 175, 34)
HSLhsl(65, 67%, 41%)
HSVhsv(65, 81%, 69%)
CMYKcmyk(6.3%, 0%, 80.6%, 31.4%)
CIE-LABlab(68.51, -20.36, 64.28)
CIE-LCHlch(68.51, 67.43, 107.57°)
OKLaboklab(72.16% -0.0631 0.1396)
OKLCHoklch(72.16% 0.153 114.3)
XYZxyz(30.9295, 38.6686, 7.3475)
Luminance0.3867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AF22 #2D22AF
analogous
#AF7322 #A4AF22 #5DAF22
triadic
#A4AF22 #22A4AF #AF22A4
tetradic
#A4AF22 #22AF73 #2D22AF #AF225D
square
#A4AF22 #22AF73 #2D22AF #AF225D
split-complementary
#A4AF22 #225DAF #7322AF
monochromatic
#44490E #747C18 #A4AF22 #CBD836 #D9E269

Accessibility & contrast

On white

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

On black

8.73
#A4AF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AF22
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AF22#FFFFFF#000000##000000
##A4AF221.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BCA830
Tritanopia (blue-blind)
#AFA496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a4af22;
/* rgb */ color: rgb(164, 175, 34);
/* oklch */ color: oklch(72.2% 0.153 114.3);
Tailwind
colors: {
  custom: {
    50: '#c3c66b',
    500: '#a4af22',
    950: '#000000',
  },
}
SCSS
$custom: #a4af22;
$custom-light: #c3c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#a4af22",
  "rgb": {
    "r": 164,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 64.681,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.72158,
    "c": 0.15316,
    "h": 114.3
  },
  "luminance": 0.38668
}

Semantic roles & 50–950 ramp

primary
#A4AF22
secondary
#6D65C8
accent
#3DEA4B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A4AF22

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

Preview Lab → · Contrast checker → · Palette generator →

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