#A8BA8D#A8BA8D

#A8BA8D is a light, moderate yellow-green. Relative luminance 0.454; OKLCH L 76.3% C 0.065 H 125.6°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#A8BA8D
RGBrgb(168, 186, 141)
HSLhsl(84, 25%, 64%)
HSVhsv(84, 24%, 73%)
CMYKcmyk(9.7%, 0%, 24.2%, 27.1%)
CIE-LABlab(73.13, -14.19, 20.81)
CIE-LCHlch(73.13, 25.19, 124.29°)
OKLaboklab(76.33% -0.0379 0.0529)
OKLCHoklch(76.33% 0.065 125.6)
XYZxyz(38.5144, 45.3656, 31.9215)
Luminance0.4537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BA8D #9F8DBA
analogous
#BAB68D #A8BA8D #92BA8D
triadic
#A8BA8D #8DA8BA #BA8DA8
tetradic
#A8BA8D #8DBAB6 #9F8DBA #BA8D92
square
#A8BA8D #8DBAB6 #9F8DBA #BA8D92
split-complementary
#A8BA8D #8D92BA #B68DBA
monochromatic
#6B7F4D #8BA367 #A8BA8D #C5D1B3 #E2E8D9

Accessibility & contrast

On white

2.08
#A8BA8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#A8BA8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BA8D
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BA8D#FFFFFF#000000##000000
##A8BA8D1.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB48A
Deuteranopia (green-blind)
#BCB38F
Tritanopia (blue-blind)
#ABB6AE
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a8ba8d;
/* rgb */ color: rgb(168, 186, 141);
/* oklch */ color: oklch(76.3% 0.065 125.6);
Tailwind
colors: {
  custom: {
    50: '#c2ceae',
    500: '#a8ba8d',
    950: '#000000',
  },
}
SCSS
$custom: #a8ba8d;
$custom-light: #c2ceae;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ba8d",
  "rgb": {
    "r": 168,
    "g": 186,
    "b": 141
  },
  "hsl": {
    "h": 84,
    "s": 24.59,
    "l": 64.118
  },
  "oklch": {
    "l": 0.76331,
    "c": 0.06501,
    "h": 125.6
  },
  "luminance": 0.45366
}

Semantic roles & 50–950 ramp

primary
#A8BA8D
secondary
#D0CAD9
accent
#42A369
background
#FBFCFA
surface
#F7F9F4
border
#D0D2CE
text
#121310
muted
#81827F

Preview Lab

Preview with #A8BA8D

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

Preview Lab → · Contrast checker → · Palette generator →

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