#A1B147#A1B147

#A1B147 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.6% C 0.132 H 117.0°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#A1B147
RGBrgb(161, 177, 71)
HSLhsl(69, 43%, 49%)
HSVhsv(69, 60%, 69%)
CMYKcmyk(9%, 0%, 59.9%, 30.6%)
CIE-LABlab(69.10, -20.56, 51.05)
CIE-LCHlch(69.10, 55.03, 111.94°)
OKLaboklab(72.65% -0.06 0.1177)
OKLCHoklch(72.65% 0.132 117)
XYZxyz(31.5580, 39.4766, 11.9173)
Luminance0.3948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B147 #5747B1
analogous
#B18C47 #A1B147 #6CB147
triadic
#A1B147 #47A1B1 #B147A1
tetradic
#A1B147 #47B18C #5747B1 #B1476C
square
#A1B147 #47B18C #5747B1 #B1476C
split-complementary
#A1B147 #476CB1 #8C47B1
monochromatic
#525A24 #798535 #A1B147 #B9C670 #CED79B

Accessibility & contrast

On white

2.36
#A1B147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#A1B147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B147
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B147#FFFFFF#000000##000000
##A1B1471.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83B
Deuteranopia (green-blind)
#BBA94E
Tritanopia (blue-blind)
#AAA89A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a1b147;
/* rgb */ color: rgb(161, 177, 71);
/* oklch */ color: oklch(72.6% 0.132 117.0);
Tailwind
colors: {
  custom: {
    50: '#bfc87e',
    500: '#a1b147',
    950: '#000000',
  },
}
SCSS
$custom: #a1b147;
$custom-light: #bfc87e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b147",
  "rgb": {
    "r": 161,
    "g": 177,
    "b": 71
  },
  "hsl": {
    "h": 69.057,
    "s": 42.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72648,
    "c": 0.13208,
    "h": 117
  },
  "luminance": 0.39476
}

Semantic roles & 50–950 ramp

primary
#A1B147
secondary
#9890C3
accent
#55D368
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #A1B147

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

Preview Lab → · Contrast checker → · Palette generator →

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