#A4B52A#A4B52A

#A4B52A is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.6% C 0.156 H 116.6°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#A4B52A
RGBrgb(164, 181, 42)
HSLhsl(67, 62%, 44%)
HSVhsv(67, 77%, 71%)
CMYKcmyk(9.4%, 0%, 76.8%, 29%)
CIE-LABlab(70.25, -23.03, 63.48)
CIE-LCHlch(70.25, 67.53, 109.94°)
OKLaboklab(73.57% -0.0698 0.1393)
OKLCHoklch(73.57% 0.156 116.6)
XYZxyz(32.2525, 41.1079, 8.4256)
Luminance0.4111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B52A #3B2AB5
analogous
#B5802A #A4B52A #5EB52A
triadic
#A4B52A #2AA4B5 #B52AA4
tetradic
#A4B52A #2AB580 #3B2AB5 #B52A5E
square
#A4B52A #2AB580 #3B2AB5 #B52A5E
split-complementary
#A4B52A #2A5EB5 #802AB5
monochromatic
#4A5213 #77831E #A4B52A #C3D448 #D3E079

Accessibility & contrast

On white

2.28
#A4B52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#A4B52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B52A
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B52A#FFFFFF#000000##000000
##A4B52A1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB02
Deuteranopia (green-blind)
#C0AD37
Tritanopia (blue-blind)
#AFAA9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a4b52a;
/* rgb */ color: rgb(164, 181, 42);
/* oklch */ color: oklch(73.6% 0.156 116.6);
Tailwind
colors: {
  custom: {
    50: '#c3cb6f',
    500: '#a4b52a',
    950: '#000000',
  },
}
SCSS
$custom: #a4b52a;
$custom-light: #c3cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b52a",
  "rgb": {
    "r": 164,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 67.338,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73567,
    "c": 0.1558,
    "h": 116.6
  },
  "luminance": 0.41107
}

Semantic roles & 50–950 ramp

primary
#A4B52A
secondary
#7D73C8
accent
#42E556
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4B52A

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

Preview Lab → · Contrast checker → · Palette generator →

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