#A4B22F#A4B22F

#A4B22F 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#A4B22F
RGBrgb(164, 178, 47)
HSLhsl(66, 58%, 44%)
HSVhsv(66, 74%, 70%)
CMYKcmyk(7.9%, 0%, 73.6%, 30.2%)
CIE-LABlab(69.43, -21.31, 61.06)
CIE-LCHlch(69.43, 64.67, 109.24°)
OKLaboklab(72.91% -0.0646 0.135)
OKLCHoklch(72.91% 0.15 115.6)
XYZxyz(31.7442, 39.9390, 8.7255)
Luminance0.3994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B22F #3D2FB2
analogous
#B27F2F #A4B22F #63B22F
triadic
#A4B22F #2FA4B2 #B22FA4
tetradic
#A4B22F #2FB27F #3D2FB2 #B22F63
square
#A4B22F #2FB27F #3D2FB2 #B22F63
split-complementary
#A4B22F #2F63B2 #7F2FB2
monochromatic
#4B5115 #778222 #A4B22F #C2D04E #D3DD7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4B22F#FFFFFF#000000##000000
##A4B22F1.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)
#BFA914
Deuteranopia (green-blind)
#BEAB3A
Tritanopia (blue-blind)
#AFA899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a4b22f;
/* rgb */ color: rgb(164, 178, 47);
/* oklch */ color: oklch(72.9% 0.150 115.6);
Tailwind
colors: {
  custom: {
    50: '#c2c871',
    500: '#a4b22f',
    950: '#000000',
  },
}
SCSS
$custom: #a4b22f;
$custom-light: #c2c871;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b22f",
  "rgb": {
    "r": 164,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 66.412,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72913,
    "c": 0.1497,
    "h": 115.6
  },
  "luminance": 0.39939
}

Semantic roles & 50–950 ramp

primary
#A4B22F
secondary
#7F77C6
accent
#46E157
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4B22F

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

Preview Lab → · Contrast checker → · Palette generator →

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