#A4A22F#A4A22F

#A4A22F is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.3% C 0.133 H 108.4°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#A4A22F
RGBrgb(164, 162, 47)
HSLhsl(59, 55%, 41%)
HSVhsv(59, 71%, 64%)
CMYKcmyk(0%, 1.2%, 71.3%, 35.7%)
CIE-LABlab(64.91, -13.15, 56.71)
CIE-LCHlch(64.91, 58.22, 103.06°)
OKLaboklab(69.3% -0.0419 0.1259)
OKLCHoklch(69.3% 0.133 108.4)
XYZxyz(28.7443, 33.9393, 7.7256)
Luminance0.3394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A22F #2F31A4
analogous
#A4682F #A4A22F #6CA42F
triadic
#A4A22F #2FA4A2 #A22FA4
tetradic
#A4A22F #2FA468 #2F31A4 #A42F6C
square
#A4A22F #2FA468 #2F31A4 #A42F6C
split-complementary
#A4A22F #2F6CA4 #682FA4
monochromatic
#454414 #747321 #A4A22F #CAC846 #D8D676

Accessibility & contrast

On white

2.70
#A4A22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#A4A22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A22F
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A22F#FFFFFF#000000##000000
##A4A22F1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1B
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#B0978B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a4a22f;
/* rgb */ color: rgb(164, 162, 47);
/* oklch */ color: oklch(69.3% 0.133 108.4);
Tailwind
colors: {
  custom: {
    50: '#c2bd6f',
    500: '#a4a22f',
    950: '#000000',
  },
}
SCSS
$custom: #a4a22f;
$custom-light: #c2bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a22f",
  "rgb": {
    "r": 164,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 58.974,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69302,
    "c": 0.13264,
    "h": 108.4
  },
  "luminance": 0.33938
}

Semantic roles & 50–950 ramp

primary
#A4A22F
secondary
#6F71C0
accent
#4CDF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A22F

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

Preview Lab → · Contrast checker → · Palette generator →

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