#A1B01B#A1B01B

#A1B01B is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.1% C 0.158 H 115.9°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#A1B01B
RGBrgb(161, 176, 27)
HSLhsl(66, 73%, 40%)
HSVhsv(66, 85%, 69%)
CMYKcmyk(8.5%, 0%, 84.7%, 31%)
CIE-LABlab(68.54, -22.37, 66.00)
CIE-LCHlch(68.54, 69.69, 108.72°)
OKLaboklab(72.11% -0.0689 0.1422)
OKLCHoklch(72.11% 0.158 115.9)
XYZxyz(30.4220, 38.7074, 6.9054)
Luminance0.3871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B01B #2A1BB0
analogous
#B0741B #A1B01B #57B01B
triadic
#A1B01B #1BA1B0 #B01BA1
tetradic
#A1B01B #1BB074 #2A1BB0 #B01B57
square
#A1B01B #1BB074 #2A1BB0 #B01B57
split-complementary
#A1B01B #1B57B0 #741BB0
monochromatic
#40460B #707B13 #A1B01B #CCDE2A #D9E65F

Accessibility & contrast

On white

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

On black

8.74
#A1B01B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B01B
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B01B#FFFFFF#000000##000000
##A1B01B1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#BCA82C
Tritanopia (blue-blind)
#ACA596
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a1b01b;
/* rgb */ color: rgb(161, 176, 27);
/* oklch */ color: oklch(72.1% 0.158 115.9);
Tailwind
colors: {
  custom: {
    50: '#c1c769',
    500: '#a1b01b',
    950: '#000000',
  },
}
SCSS
$custom: #a1b01b;
$custom-light: #c1c769;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b01b",
  "rgb": {
    "r": 161,
    "g": 176,
    "b": 27
  },
  "hsl": {
    "h": 66.04,
    "s": 73.399,
    "l": 39.804
  },
  "oklch": {
    "l": 0.72115,
    "c": 0.15803,
    "h": 115.9
  },
  "luminance": 0.38707
}

Semantic roles & 50–950 ramp

primary
#A1B01B
secondary
#675CCB
accent
#38F04A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A1B01B

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

Preview Lab → · Contrast checker → · Palette generator →

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