#A4A22A#A4A22A

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

Color values

HEX#A4A22A
RGBrgb(164, 162, 42)
HSLhsl(59, 59%, 40%)
HSVhsv(59, 74%, 64%)
CMYKcmyk(0%, 1.2%, 74.4%, 35.7%)
CIE-LABlab(64.88, -13.39, 58.49)
CIE-LCHlch(64.88, 60.00, 102.90°)
OKLaboklab(69.27% -0.0431 0.1287)
OKLCHoklch(69.27% 0.136 108.5)
XYZxyz(28.6492, 33.9013, 7.2245)
Luminance0.3390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A22A #2A2CA4
analogous
#A4652A #A4A22A #69A42A
triadic
#A4A22A #2AA4A2 #A22AA4
tetradic
#A4A22A #2AA465 #2A2CA4 #A42A69
square
#A4A22A #2AA465 #2A2CA4 #A42A69
split-complementary
#A4A22A #2A69A4 #652AA4
monochromatic
#434211 #73721E #A4A22A #CDCB3E #DAD86E

Accessibility & contrast

On white

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

On black

7.78
#A4A22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A22A
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A22A#FFFFFF#000000##000000
##A4A22A1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4a22a;
/* rgb */ color: rgb(164, 162, 42);
/* oklch */ color: oklch(69.3% 0.136 108.5);
Tailwind
colors: {
  custom: {
    50: '#c2bd6d',
    500: '#a4a22a',
    950: '#000000',
  },
}
SCSS
$custom: #a4a22a;
$custom-light: #c2bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a22a",
  "rgb": {
    "r": 164,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 59.016,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69268,
    "c": 0.1357,
    "h": 108.5
  },
  "luminance": 0.339
}

Semantic roles & 50–950 ramp

primary
#A4A22A
secondary
#696AC1
accent
#48E245
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A4A22A

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

Preview Lab → · Contrast checker → · Palette generator →

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