#A1B02F#A1B02F

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

Color values

HEX#A1B02F
RGBrgb(161, 176, 47)
HSLhsl(67, 58%, 44%)
HSVhsv(67, 73%, 69%)
CMYKcmyk(8.5%, 0%, 73.3%, 31%)
CIE-LABlab(68.63, -21.59, 60.22)
CIE-LCHlch(68.63, 63.97, 109.72°)
OKLaboklab(72.22% -0.0652 0.1334)
OKLCHoklch(72.22% 0.148 116.1)
XYZxyz(30.7372, 38.8334, 8.5652)
Luminance0.3883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B02F #3E2FB0
analogous
#B07E2F #A1B02F #60B02F
triadic
#A1B02F #2FA1B0 #B02FA1
tetradic
#A1B02F #2FB07E #3E2FB0 #B02F60
square
#A1B02F #2FB07E #3E2FB0 #B02F60
split-complementary
#A1B02F #2F60B0 #7E2FB0
monochromatic
#494F15 #758022 #A1B02F #C0CF4D #D1DC7D

Accessibility & contrast

On white

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

On black

8.77
#A1B02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B02F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B02F#FFFFFF#000000##000000
##A1B02F1.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA715
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#ABA697
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a1b02f;
/* rgb */ color: rgb(161, 176, 47);
/* oklch */ color: oklch(72.2% 0.148 116.1);
Tailwind
colors: {
  custom: {
    50: '#c0c771',
    500: '#a1b02f',
    950: '#000000',
  },
}
SCSS
$custom: #a1b02f;
$custom-light: #c0c771;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b02f",
  "rgb": {
    "r": 161,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 66.977,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72218,
    "c": 0.14846,
    "h": 116.1
  },
  "luminance": 0.38833
}

Semantic roles & 50–950 ramp

primary
#A1B02F
secondary
#7F76C5
accent
#47E159
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B02F

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

Preview Lab → · Contrast checker → · Palette generator →

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