#A1B031#A1B031

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

Color values

HEX#A1B031
RGBrgb(161, 176, 49)
HSLhsl(67, 56%, 44%)
HSVhsv(67, 72%, 69%)
CMYKcmyk(8.5%, 0%, 72.2%, 31%)
CIE-LABlab(68.64, -21.49, 59.52)
CIE-LCHlch(68.64, 63.28, 109.85°)
OKLaboklab(72.23% -0.0648 0.1322)
OKLCHoklch(72.23% 0.147 116.1)
XYZxyz(30.7784, 38.8499, 8.7825)
Luminance0.3885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B031 #4031B0
analogous
#B08031 #A1B031 #62B031
triadic
#A1B031 #31A1B0 #B031A1
tetradic
#A1B031 #31B080 #4031B0 #B03162
square
#A1B031 #31B080 #4031B0 #B03162
split-complementary
#A1B031 #3162B0 #8031B0
monochromatic
#495016 #758024 #A1B031 #BFCE50 #D1DC80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1B031#FFFFFF#000000##000000
##A1B0311.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1b031;
/* rgb */ color: rgb(161, 176, 49);
/* oklch */ color: oklch(72.2% 0.147 116.1);
Tailwind
colors: {
  custom: {
    50: '#c0c772',
    500: '#a1b031',
    950: '#000000',
  },
}
SCSS
$custom: #a1b031;
$custom-light: #c0c772;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b031",
  "rgb": {
    "r": 161,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 67.087,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72231,
    "c": 0.14724,
    "h": 116.1
  },
  "luminance": 0.38849
}

Semantic roles & 50–950 ramp

primary
#A1B031
secondary
#8178C5
accent
#48E05A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B031

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

Preview Lab → · Contrast checker → · Palette generator →

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