#A4B22E#A4B22E

#A4B22E is a light, vivid yellow. Relative luminance 0.399; OKLCH L 72.9% C 0.150 H 115.6°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#A4B22E
RGBrgb(164, 178, 46)
HSLhsl(66, 59%, 44%)
HSVhsv(66, 74%, 70%)
CMYKcmyk(7.9%, 0%, 74.2%, 30.2%)
CIE-LABlab(69.42, -21.36, 61.40)
CIE-LCHlch(69.42, 65.01, 109.18°)
OKLaboklab(72.91% -0.0649 0.1356)
OKLCHoklch(72.91% 0.15 115.6)
XYZxyz(31.7242, 39.9311, 8.6205)
Luminance0.3993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B22E #3C2EB2
analogous
#B27E2E #A4B22E #62B22E
triadic
#A4B22E #2EA4B2 #B22EA4
tetradic
#A4B22E #2EB27E #3C2EB2 #B22E62
square
#A4B22E #2EB27E #3C2EB2 #B22E62
split-complementary
#A4B22E #2E62B2 #7E2EB2
monochromatic
#4A5115 #778121 #A4B22E #C3D14C #D3DD7D

Accessibility & contrast

On white

2.34
#A4B22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#A4B22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B22E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B22E#FFFFFF#000000##000000
##A4B22E1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA912
Deuteranopia (green-blind)
#BEAB39
Tritanopia (blue-blind)
#AFA899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a4b22e;
/* rgb */ color: rgb(164, 178, 46);
/* oklch */ color: oklch(72.9% 0.150 115.6);
Tailwind
colors: {
  custom: {
    50: '#c2c871',
    500: '#a4b22e',
    950: '#000000',
  },
}
SCSS
$custom: #a4b22e;
$custom-light: #c2c871;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b22e",
  "rgb": {
    "r": 164,
    "g": 178,
    "b": 46
  },
  "hsl": {
    "h": 66.364,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72907,
    "c": 0.15029,
    "h": 115.6
  },
  "luminance": 0.39931
}

Semantic roles & 50–950 ramp

primary
#A4B22E
secondary
#7E76C6
accent
#46E256
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4B22E

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

Preview Lab → · Contrast checker → · Palette generator →

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