#A4A822#A4A822

#A4A822 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.6% C 0.146 H 111.4°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#A4A822
RGBrgb(164, 168, 34)
HSLhsl(62, 66%, 40%)
HSVhsv(62, 80%, 66%)
CMYKcmyk(2.4%, 0%, 79.8%, 34.1%)
CIE-LABlab(66.53, -16.81, 62.54)
CIE-LCHlch(66.53, 64.76, 105.05°)
OKLaboklab(70.57% -0.0533 0.1358)
OKLCHoklch(70.57% 0.146 111.4)
XYZxyz(29.6023, 36.0141, 6.9051)
Luminance0.3601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A822 #2622A8
analogous
#A86922 #A4A822 #61A822
triadic
#A4A822 #22A4A8 #A822A4
tetradic
#A4A822 #22A869 #2622A8 #A82261
square
#A4A822 #22A869 #2622A8 #A82261
split-complementary
#A4A822 #2261A8 #6922A8
monochromatic
#41420D #727518 #A4A822 #D1D532 #DCE065

Accessibility & contrast

On white

2.56
#A4A822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#A4A822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A822
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A822#FFFFFF#000000##000000
##A4A8221.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#B09D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a4a822;
/* rgb */ color: rgb(164, 168, 34);
/* oklch */ color: oklch(70.6% 0.146 111.4);
Tailwind
colors: {
  custom: {
    50: '#c3c16a',
    500: '#a4a822',
    950: '#000000',
  },
}
SCSS
$custom: #a4a822;
$custom-light: #c3c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a822",
  "rgb": {
    "r": 164,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 61.791,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70571,
    "c": 0.14591,
    "h": 111.4
  },
  "luminance": 0.36013
}

Semantic roles & 50–950 ramp

primary
#A4A822
secondary
#6461C5
accent
#3FE944
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A4A822

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

Preview Lab → · Contrast checker → · Palette generator →

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