#A2B02A#A2B02A

#A2B02A is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.3% C 0.151 H 115.6°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#A2B02A
RGBrgb(162, 176, 42)
HSLhsl(66, 61%, 43%)
HSVhsv(66, 76%, 69%)
CMYKcmyk(8%, 0%, 76.1%, 31%)
CIE-LABlab(68.68, -21.40, 61.97)
CIE-LCHlch(68.68, 65.56, 109.05°)
OKLaboklab(72.27% -0.0652 0.1362)
OKLCHoklch(72.27% 0.151 115.6)
XYZxyz(30.8444, 38.8997, 8.0736)
Luminance0.3890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B02A #382AB0
analogous
#B07B2A #A2B02A #5FB02A
triadic
#A2B02A #2AA2B0 #B02AA2
tetradic
#A2B02A #2AB07B #382AB0 #B02A5F
square
#A2B02A #2AB07B #382AB0 #B02A5F
split-complementary
#A2B02A #2A5FB0 #7B2AB0
monochromatic
#474D12 #757F1E #A2B02A #C4D345 #D3DE76

Accessibility & contrast

On white

2.39
#A2B02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#A2B02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B02A
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B02A#FFFFFF#000000##000000
##A2B02A1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b02a;
/* rgb */ color: rgb(162, 176, 42);
/* oklch */ color: oklch(72.3% 0.151 115.6);
Tailwind
colors: {
  custom: {
    50: '#c1c76f',
    500: '#a2b02a',
    950: '#000000',
  },
}
SCSS
$custom: #a2b02a;
$custom-light: #c1c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b02a",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 42
  },
  "hsl": {
    "h": 66.269,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72266,
    "c": 0.15096,
    "h": 115.6
  },
  "luminance": 0.38899
}

Semantic roles & 50–950 ramp

primary
#A2B02A
secondary
#7970C6
accent
#43E554
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B02A

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

Preview Lab → · Contrast checker → · Palette generator →

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