#A4B02A#A4B02A

#A4B02A is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.4% C 0.150 H 114.8°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#A4B02A
RGBrgb(164, 176, 42)
HSLhsl(65, 61%, 43%)
HSVhsv(65, 76%, 69%)
CMYKcmyk(6.8%, 0%, 76.1%, 31%)
CIE-LABlab(68.83, -20.54, 62.17)
CIE-LCHlch(68.83, 65.48, 108.28°)
OKLaboklab(72.43% -0.063 0.1365)
OKLCHoklch(72.43% 0.15 114.8)
XYZxyz(31.2540, 39.1109, 8.0928)
Luminance0.3911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B02A #362AB0
analogous
#B0792A #A4B02A #61B02A
triadic
#A4B02A #2AA4B0 #B02AA4
tetradic
#A4B02A #2AB079 #362AB0 #B02A61
square
#A4B02A #2AB079 #362AB0 #B02A61
split-complementary
#A4B02A #2A61B0 #792AB0
monochromatic
#484D12 #767F1E #A4B02A #C6D345 #D5DE76

Accessibility & contrast

On white

2.38
#A4B02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#A4B02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B02A
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B02A#FFFFFF#000000##000000
##A4B02A1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA707
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#AFA597
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a4b02a;
/* rgb */ color: rgb(164, 176, 42);
/* oklch */ color: oklch(72.4% 0.150 114.8);
Tailwind
colors: {
  custom: {
    50: '#c3c76f',
    500: '#a4b02a',
    950: '#000000',
  },
}
SCSS
$custom: #a4b02a;
$custom-light: #c3c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b02a",
  "rgb": {
    "r": 164,
    "g": 176,
    "b": 42
  },
  "hsl": {
    "h": 65.373,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72427,
    "c": 0.15032,
    "h": 114.8
  },
  "luminance": 0.3911
}

Semantic roles & 50–950 ramp

primary
#A4B02A
secondary
#7870C6
accent
#43E552
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4B02A

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

Preview Lab → · Contrast checker → · Palette generator →

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