#A8B381#A8B381

#A8B381 is a light, moderate yellow-green. Relative luminance 0.421; OKLCH L 74.5% C 0.069 H 118.2°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#A8B381
RGBrgb(168, 179, 129)
HSLhsl(73, 25%, 60%)
HSVhsv(73, 28%, 70%)
CMYKcmyk(6.1%, 0%, 27.9%, 29.8%)
CIE-LABlab(70.97, -12.35, 24.32)
CIE-LCHlch(70.97, 27.28, 116.93°)
OKLaboklab(74.54% -0.0328 0.0612)
OKLCHoklch(74.54% 0.069 118.2)
XYZxyz(36.2308, 42.1502, 26.9917)
Luminance0.4215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B381 #8C81B3
analogous
#B3A581 #A8B381 #8FB381
triadic
#A8B381 #81A8B3 #B381A8
tetradic
#A8B381 #81B3A5 #8C81B3 #B3818F
square
#A8B381 #81B3A5 #8C81B3 #B3818F
split-complementary
#A8B381 #818FB3 #A581B3
monochromatic
#6A7446 #8D9A5D #A8B381 #C2CAA7 #DDE1CD

Accessibility & contrast

On white

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

On black

9.43
#A8B381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B381
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B381#FFFFFF#000000##000000
##A8B3811.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAE7E
Deuteranopia (green-blind)
#B8AE83
Tritanopia (blue-blind)
#ADAEA6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a8b381;
/* rgb */ color: rgb(168, 179, 129);
/* oklch */ color: oklch(74.5% 0.069 118.2);
Tailwind
colors: {
  custom: {
    50: '#c2c9a6',
    500: '#a8b381',
    950: '#000000',
  },
}
SCSS
$custom: #a8b381;
$custom-light: #c2c9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b381",
  "rgb": {
    "r": 168,
    "g": 179,
    "b": 129
  },
  "hsl": {
    "h": 73.2,
    "s": 24.752,
    "l": 60.392
  },
  "oklch": {
    "l": 0.74539,
    "c": 0.0694,
    "h": 118.2
  },
  "luminance": 0.4215
}

Semantic roles & 50–950 ramp

primary
#A8B381
secondary
#C3BED1
accent
#42A358
background
#FBFCFA
surface
#F7F8F4
border
#D0D1CE
text
#12130F
muted
#81827F

Preview Lab

Preview with #A8B381

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

Preview Lab → · Contrast checker → · Palette generator →

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