#A1BD31#A1BD31

#A1BD31 is a light, vivid yellow-green. Relative luminance 0.442; OKLCH L 75.2% C 0.162 H 120.5°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#A1BD31
RGBrgb(161, 189, 49)
HSLhsl(72, 59%, 47%)
HSVhsv(72, 74%, 74%)
CMYKcmyk(14.8%, 0%, 74.1%, 25.9%)
CIE-LABlab(72.36, -27.84, 63.10)
CIE-LCHlch(72.36, 68.97, 113.81°)
OKLaboklab(75.22% -0.0823 0.1398)
OKLCHoklch(75.22% 0.162 120.5)
XYZxyz(33.4505, 44.1941, 9.6732)
Luminance0.4419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BD31 #4D31BD
analogous
#BD9331 #A1BD31 #5BBD31
triadic
#A1BD31 #31A1BD #BD31A1
tetradic
#A1BD31 #31BD93 #4D31BD #BD315B
square
#A1BD31 #31BD93 #4D31BD #BD315B
split-complementary
#A1BD31 #315BBD #9331BD
monochromatic
#4E5C18 #788C24 #A1BD31 #BBD458 #CFE088

Accessibility & contrast

On white

2.13
#A1BD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#A1BD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BD31
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BD31#FFFFFF#000000##000000
##A1BD311.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B213
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#AAB3A2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a1bd31;
/* rgb */ color: rgb(161, 189, 49);
/* oklch */ color: oklch(75.2% 0.162 120.5);
Tailwind
colors: {
  custom: {
    50: '#c0d073',
    500: '#a1bd31',
    950: '#000000',
  },
}
SCSS
$custom: #a1bd31;
$custom-light: #c0d073;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bd31",
  "rgb": {
    "r": 161,
    "g": 189,
    "b": 49
  },
  "hsl": {
    "h": 72,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75221,
    "c": 0.16221,
    "h": 120.5
  },
  "luminance": 0.44194
}

Semantic roles & 50–950 ramp

primary
#A1BD31
secondary
#8F80CA
accent
#46E265
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A1BD31

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

Preview Lab → · Contrast checker → · Palette generator →

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