#A4B22B#A4B22B

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

Color values

HEX#A4B22B
RGBrgb(164, 178, 43)
HSLhsl(66, 61%, 43%)
HSVhsv(66, 76%, 70%)
CMYKcmyk(7.9%, 0%, 75.8%, 30.2%)
CIE-LABlab(69.40, -21.50, 62.38)
CIE-LCHlch(69.40, 65.98, 109.01°)
OKLaboklab(72.89% -0.0655 0.1371)
OKLCHoklch(72.89% 0.152 115.5)
XYZxyz(31.6672, 39.9082, 8.3199)
Luminance0.3991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B22B #392BB2
analogous
#B27C2B #A4B22B #60B22B
triadic
#A4B22B #2BA4B2 #B22BA4
tetradic
#A4B22B #2BB27C #392BB2 #B22B60
square
#A4B22B #2BB27C #392BB2 #B22B60
split-complementary
#A4B22B #2B60B2 #7C2BB2
monochromatic
#494F13 #77811F #A4B22B #C4D348 #D4DF79

Accessibility & contrast

On white

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

On black

8.98
#A4B22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B22B
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B22B#FFFFFF#000000##000000
##A4B22B1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA908
Deuteranopia (green-blind)
#BEAA37
Tritanopia (blue-blind)
#AFA799
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a4b22b;
/* rgb */ color: rgb(164, 178, 43);
/* oklch */ color: oklch(72.9% 0.152 115.5);
Tailwind
colors: {
  custom: {
    50: '#c3c86f',
    500: '#a4b22b',
    950: '#000000',
  },
}
SCSS
$custom: #a4b22b;
$custom-light: #c3c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b22b",
  "rgb": {
    "r": 164,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 66.222,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72888,
    "c": 0.15196,
    "h": 115.5
  },
  "luminance": 0.39908
}

Semantic roles & 50–950 ramp

primary
#A4B22B
secondary
#7B72C7
accent
#44E454
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4B22B

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

Preview Lab → · Contrast checker → · Palette generator →

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