#A4B42A#A4B42A

#A4B42A is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.3% C 0.155 H 116.3°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#A4B42A
RGBrgb(164, 180, 42)
HSLhsl(67, 62%, 44%)
HSVhsv(67, 77%, 71%)
CMYKcmyk(8.9%, 0%, 76.7%, 29.4%)
CIE-LABlab(69.97, -22.53, 63.22)
CIE-LCHlch(69.97, 67.12, 109.62°)
OKLaboklab(73.34% -0.0684 0.1387)
OKLCHoklch(73.34% 0.155 116.3)
XYZxyz(32.0499, 40.7027, 8.3581)
Luminance0.4070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B42A #3A2AB4
analogous
#B47F2A #A4B42A #5FB42A
triadic
#A4B42A #2AA4B4 #B42AA4
tetradic
#A4B42A #2AB47F #3A2AB4 #B42A5F
square
#A4B42A #2AB47F #3A2AB4 #B42A5F
split-complementary
#A4B42A #2A5FB4 #7F2AB4
monochromatic
#4A5113 #77821E #A4B42A #C4D447 #D4E079

Accessibility & contrast

On white

2.30
#A4B42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#A4B42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B42A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B42A#FFFFFF#000000##000000
##A4B42A1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA03
Deuteranopia (green-blind)
#BFAC37
Tritanopia (blue-blind)
#AFA99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a4b42a;
/* rgb */ color: rgb(164, 180, 42);
/* oklch */ color: oklch(73.3% 0.155 116.3);
Tailwind
colors: {
  custom: {
    50: '#c3ca6f',
    500: '#a4b42a',
    950: '#000000',
  },
}
SCSS
$custom: #a4b42a;
$custom-light: #c3ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b42a",
  "rgb": {
    "r": 164,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 66.957,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73339,
    "c": 0.1547,
    "h": 116.3
  },
  "luminance": 0.40702
}

Semantic roles & 50–950 ramp

primary
#A4B42A
secondary
#7C72C8
accent
#43E555
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4B42A

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

Preview Lab → · Contrast checker → · Palette generator →

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