#A4B271#A4B271

#A4B271 is a light, moderate yellow-green. Relative luminance 0.409; OKLCH L 73.7% C 0.089 H 118.5°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#A4B271
RGBrgb(164, 178, 113)
HSLhsl(73, 30%, 57%)
HSVhsv(73, 37%, 70%)
CMYKcmyk(7.9%, 0%, 36.5%, 30.2%)
CIE-LABlab(70.12, -15.55, 31.64)
CIE-LCHlch(70.12, 35.25, 116.18°)
OKLaboklab(73.7% -0.0424 0.078)
OKLCHoklch(73.7% 0.089 118.5)
XYZxyz(34.2109, 40.9257, 21.7168)
Luminance0.4093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B271 #7F71B2
analogous
#B2A071 #A4B271 #84B271
triadic
#A4B271 #71A4B2 #B271A4
tetradic
#A4B271 #71B2A0 #7F71B2 #B27184
square
#A4B271 #71B2A0 #7F71B2 #B27184
split-complementary
#A4B271 #7184B2 #A071B2
monochromatic
#636D3B #869551 #A4B271 #BDC899 #D7DDC0

Accessibility & contrast

On white

2.29
#A4B271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#A4B271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B271
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B271#FFFFFF#000000##000000
##A4B2711.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAB6C
Deuteranopia (green-blind)
#B8AC74
Tritanopia (blue-blind)
#AAABA2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a4b271;
/* rgb */ color: rgb(164, 178, 113);
/* oklch */ color: oklch(73.7% 0.089 118.5);
Tailwind
colors: {
  custom: {
    50: '#c0c99a',
    500: '#a4b271',
    950: '#000000',
  },
}
SCSS
$custom: #a4b271;
$custom-light: #c0c99a;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b271",
  "rgb": {
    "r": 164,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 72.923,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.73697,
    "c": 0.08875,
    "h": 118.5
  },
  "luminance": 0.40926
}

Semantic roles & 50–950 ramp

primary
#A4B271
secondary
#B8B2CD
accent
#62C677
background
#FBFCF9
surface
#F7F8F2
border
#D0D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #A4B271

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

Preview Lab → · Contrast checker → · Palette generator →

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