#A8AB5C#A8AB5C

#A8AB5C is a light, moderate yellow. Relative luminance 0.382; OKLCH L 72.1% C 0.102 H 110.6°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#A8AB5C
RGBrgb(168, 171, 92)
HSLhsl(62, 32%, 52%)
HSVhsv(62, 46%, 67%)
CMYKcmyk(1.8%, 0%, 46.2%, 32.9%)
CIE-LABlab(68.19, -12.72, 40.09)
CIE-LCHlch(68.19, 42.06, 107.60°)
OKLaboklab(72.13% -0.0361 0.0959)
OKLCHoklch(72.13% 0.102 110.6)
XYZxyz(32.6437, 38.2240, 15.7815)
Luminance0.3822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AB5C #5F5CAB
analogous
#AB875C #A8AB5C #81AB5C
triadic
#A8AB5C #5CA8AB #AB5CA8
tetradic
#A8AB5C #5CAB87 #5F5CAB #AB5C81
square
#A8AB5C #5CAB87 #5F5CAB #AB5C81
split-complementary
#A8AB5C #5C81AB #875CAB
monochromatic
#5B5D30 #838545 #A8AB5C #BEC084 #D3D5AD

Accessibility & contrast

On white

2.43
#A8AB5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#A8AB5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AB5C
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AB5C#FFFFFF#000000##000000
##A8AB5C1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A555
Deuteranopia (green-blind)
#B6A760
Tritanopia (blue-blind)
#B1A398
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a8ab5c;
/* rgb */ color: rgb(168, 171, 92);
/* oklch */ color: oklch(72.1% 0.102 110.6);
Tailwind
colors: {
  custom: {
    50: '#c3c38c',
    500: '#a8ab5c',
    950: '#000000',
  },
}
SCSS
$custom: #a8ab5c;
$custom-light: #c3c38c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ab5c",
  "rgb": {
    "r": 168,
    "g": 171,
    "b": 92
  },
  "hsl": {
    "h": 62.278,
    "s": 31.984,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7213,
    "c": 0.10248,
    "h": 110.6
  },
  "luminance": 0.38223
}

Semantic roles & 50–950 ramp

primary
#A8AB5C
secondary
#A1A0C3
accent
#60C864
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #A8AB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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