#A1B751#A1B751

#A1B751 is a light, vivid yellow-green. Relative luminance 0.420; OKLCH L 74.1% C 0.131 H 119.9°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#A1B751
RGBrgb(161, 183, 81)
HSLhsl(73, 41%, 52%)
HSVhsv(73, 56%, 72%)
CMYKcmyk(12%, 0%, 55.7%, 28.2%)
CIE-LABlab(70.90, -22.72, 48.51)
CIE-LCHlch(70.90, 53.57, 115.10°)
OKLaboklab(74.13% -0.0651 0.1134)
OKLCHoklch(74.13% 0.131 119.9)
XYZxyz(33.1170, 42.0382, 14.1525)
Luminance0.4204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B751 #6751B7
analogous
#B79A51 #A1B751 #6EB751
triadic
#A1B751 #51A1B7 #B751A1
tetradic
#A1B751 #51B79A #6751B7 #B7516E
square
#A1B751 #51B79A #6751B7 #B7516E
split-complementary
#A1B751 #516EB7 #9A51B7
monochromatic
#576429 #7D8F3B #A1B751 #B8C97C #D0DBA8

Accessibility & contrast

On white

2.23
#A1B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#A1B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B751
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B751#FFFFFF#000000##000000
##A1B7511.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE47
Deuteranopia (green-blind)
#BFAE57
Tritanopia (blue-blind)
#A9AEA1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a1b751;
/* rgb */ color: rgb(161, 183, 81);
/* oklch */ color: oklch(74.1% 0.131 119.9);
Tailwind
colors: {
  custom: {
    50: '#bfcc85',
    500: '#a1b751',
    950: '#000000',
  },
}
SCSS
$custom: #a1b751;
$custom-light: #bfcc85;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b751",
  "rgb": {
    "r": 161,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 72.941,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74126,
    "c": 0.13073,
    "h": 119.9
  },
  "luminance": 0.42038
}

Semantic roles & 50–950 ramp

primary
#A1B751
secondary
#A59CC8
accent
#57D171
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #A1B751

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

Preview Lab → · Contrast checker → · Palette generator →

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