#A8B387#A8B387

#A8B387 is a light, moderate yellow-green. Relative luminance 0.423; OKLCH L 74.7% C 0.062 H 119.3°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#A8B387
RGBrgb(168, 179, 135)
HSLhsl(75, 22%, 62%)
HSVhsv(75, 25%, 70%)
CMYKcmyk(6.1%, 0%, 24.6%, 29.8%)
CIE-LABlab(71.09, -11.48, 21.24)
CIE-LCHlch(71.09, 24.15, 118.38°)
OKLaboklab(74.67% -0.0302 0.0538)
OKLCHoklch(74.67% 0.062 119.3)
XYZxyz(36.6413, 42.3144, 29.1541)
Luminance0.4231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B387 #9287B3
analogous
#B3A887 #A8B387 #92B387
triadic
#A8B387 #87A8B3 #B387A8
tetradic
#A8B387 #87B3A8 #9287B3 #B38792
square
#A8B387 #87B3A8 #9287B3 #B38792
split-complementary
#A8B387 #8792B3 #A887B3
monochromatic
#6B754A #8D9B62 #A8B387 #C3CBAC #DEE2D2

Accessibility & contrast

On white

2.22
#A8B387 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#A8B387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B387
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B387#FFFFFF#000000##000000
##A8B3871.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AE84
Deuteranopia (green-blind)
#B8AE89
Tritanopia (blue-blind)
#ACAEA7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a8b387;
/* rgb */ color: rgb(168, 179, 135);
/* oklch */ color: oklch(74.7% 0.062 119.3);
Tailwind
colors: {
  custom: {
    50: '#c2c9aa',
    500: '#a8b387',
    950: '#000000',
  },
}
SCSS
$custom: #a8b387;
$custom-light: #c2c9aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b387",
  "rgb": {
    "r": 168,
    "g": 179,
    "b": 135
  },
  "hsl": {
    "h": 75,
    "s": 22.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.74666,
    "c": 0.06174,
    "h": 119.3
  },
  "luminance": 0.42314
}

Semantic roles & 50–950 ramp

primary
#A8B387
secondary
#C7C3D3
accent
#45A15C
background
#FBFCFA
surface
#F7F8F4
border
#D0D1CE
text
#121310
muted
#81827F

Preview Lab

Preview with #A8B387

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

Preview Lab → · Contrast checker → · Palette generator →

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