#A1B01F#A1B01F

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

Color values

HEX#A1B01F
RGBrgb(161, 176, 31)
HSLhsl(66, 70%, 41%)
HSVhsv(66, 82%, 69%)
CMYKcmyk(8.5%, 0%, 82.4%, 31%)
CIE-LABlab(68.55, -22.25, 65.03)
CIE-LCHlch(68.55, 68.73, 108.89°)
OKLaboklab(72.13% -0.0683 0.1408)
OKLCHoklch(72.13% 0.156 115.9)
XYZxyz(30.4715, 38.7272, 7.1659)
Luminance0.3873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B01F #2E1FB0
analogous
#B0761F #A1B01F #58B01F
triadic
#A1B01F #1FA1B0 #B01FA1
tetradic
#A1B01F #1FB076 #2E1FB0 #B01F58
square
#A1B01F #1FB076 #2E1FB0 #B01F58
split-complementary
#A1B01F #1F58B0 #761FB0
monochromatic
#42480D #717C16 #A1B01F #C9DB31 #D7E465

Accessibility & contrast

On white

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

On black

8.75
#A1B01F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B01F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B01F#FFFFFF#000000##000000
##A1B01F1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1b01f;
/* rgb */ color: rgb(161, 176, 31);
/* oklch */ color: oklch(72.1% 0.156 115.9);
Tailwind
colors: {
  custom: {
    50: '#c1c76a',
    500: '#a1b01f',
    950: '#000000',
  },
}
SCSS
$custom: #a1b01f;
$custom-light: #c1c76a;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b01f",
  "rgb": {
    "r": 161,
    "g": 176,
    "b": 31
  },
  "hsl": {
    "h": 66.207,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.72131,
    "c": 0.15649,
    "h": 115.9
  },
  "luminance": 0.38727
}

Semantic roles & 50–950 ramp

primary
#A1B01F
secondary
#6C62C9
accent
#3BED4D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A1B01F

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

Preview Lab → · Contrast checker → · Palette generator →

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