#A8AB2F#A8AB2F

#A8AB2F is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.7% C 0.141 H 110.9°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#A8AB2F
RGBrgb(168, 171, 47)
HSLhsl(61, 57%, 43%)
HSVhsv(61, 73%, 67%)
CMYKcmyk(1.8%, 0%, 72.5%, 32.9%)
CIE-LABlab(67.77, -16.06, 59.58)
CIE-LCHlch(67.77, 61.71, 105.08°)
OKLaboklab(71.66% -0.0503 0.1318)
OKLCHoklch(71.66% 0.141 110.9)
XYZxyz(31.2255, 37.6567, 8.3124)
Luminance0.3766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AB2F #322FAB
analogous
#AB702F #A8AB2F #6AAB2F
triadic
#A8AB2F #2FA8AB #AB2FA8
tetradic
#A8AB2F #2FAB70 #322FAB #AB2F6A
square
#A8AB2F #2FAB70 #322FAB #AB2F6A
split-complementary
#A8AB2F #2F6AAB #702FAB
monochromatic
#4A4B15 #797B22 #A8AB2F #CACD4A #D8DA7A

Accessibility & contrast

On white

2.46
#A8AB2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#A8AB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AB2F
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AB2F#FFFFFF#000000##000000
##A8AB2F1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A317
Deuteranopia (green-blind)
#B9A739
Tritanopia (blue-blind)
#B4A093
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a8ab2f;
/* rgb */ color: rgb(168, 171, 47);
/* oklch */ color: oklch(71.7% 0.141 110.9);
Tailwind
colors: {
  custom: {
    50: '#c5c371',
    500: '#a8ab2f',
    950: '#000000',
  },
}
SCSS
$custom: #a8ab2f;
$custom-light: #c5c371;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ab2f",
  "rgb": {
    "r": 168,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 61.452,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71661,
    "c": 0.14104,
    "h": 110.9
  },
  "luminance": 0.37656
}

Semantic roles & 50–950 ramp

primary
#A8AB2F
secondary
#7573C3
accent
#48E04B
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8AB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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