#A1B02A#A1B02A

#A1B02A is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.2% C 0.151 H 116.0°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#A1B02A
RGBrgb(161, 176, 42)
HSLhsl(67, 61%, 43%)
HSVhsv(67, 76%, 69%)
CMYKcmyk(8.5%, 0%, 76.1%, 31%)
CIE-LABlab(68.60, -21.82, 61.88)
CIE-LCHlch(68.60, 65.61, 109.43°)
OKLaboklab(72.19% -0.0663 0.136)
OKLCHoklch(72.19% 0.151 116)
XYZxyz(30.6420, 38.7954, 8.0641)
Luminance0.3880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B02A #392AB0
analogous
#B07C2A #A1B02A #5EB02A
triadic
#A1B02A #2AA1B0 #B02AA1
tetradic
#A1B02A #2AB07C #392AB0 #B02A5E
square
#A1B02A #2AB07C #392AB0 #B02A5E
split-complementary
#A1B02A #2A5EB0 #7C2AB0
monochromatic
#474D12 #747F1E #A1B02A #C3D345 #D3DE76

Accessibility & contrast

On white

2.40
#A1B02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#A1B02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B02A
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B02A#FFFFFF#000000##000000
##A1B02A1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1b02a;
/* rgb */ color: rgb(161, 176, 42);
/* oklch */ color: oklch(72.2% 0.151 116.0);
Tailwind
colors: {
  custom: {
    50: '#c0c76f',
    500: '#a1b02a',
    950: '#000000',
  },
}
SCSS
$custom: #a1b02a;
$custom-light: #c0c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b02a",
  "rgb": {
    "r": 161,
    "g": 176,
    "b": 42
  },
  "hsl": {
    "h": 66.716,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72187,
    "c": 0.1513,
    "h": 116
  },
  "luminance": 0.38795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A1B02A

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

Preview Lab → · Contrast checker → · Palette generator →

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