#A8AB2B#A8AB2B

#A8AB2B is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.6% C 0.143 H 110.9°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#A8AB2B
RGBrgb(168, 171, 43)
HSLhsl(61, 60%, 42%)
HSVhsv(61, 75%, 67%)
CMYKcmyk(1.8%, 0%, 74.9%, 32.9%)
CIE-LABlab(67.74, -16.24, 60.95)
CIE-LCHlch(67.74, 63.07, 104.92°)
OKLaboklab(71.64% -0.0511 0.1339)
OKLCHoklch(71.64% 0.143 110.9)
XYZxyz(31.1485, 37.6259, 7.9067)
Luminance0.3762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AB2B #2E2BAB
analogous
#AB6E2B #A8AB2B #68AB2B
triadic
#A8AB2B #2BA8AB #AB2BA8
tetradic
#A8AB2B #2BAB6E #2E2BAB #AB2B68
square
#A8AB2B #2BAB6E #2E2BAB #AB2B68
split-complementary
#A8AB2B #2B68AB #6E2BAB
monochromatic
#484912 #787A1F #A8AB2B #CDD043 #DADC74

Accessibility & contrast

On white

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

On black

8.52
#A8AB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AB2B
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AB2B#FFFFFF#000000##000000
##A8AB2B1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8ab2b;
/* rgb */ color: rgb(168, 171, 43);
/* oklch */ color: oklch(71.6% 0.143 110.9);
Tailwind
colors: {
  custom: {
    50: '#c5c36f',
    500: '#a8ab2b',
    950: '#000000',
  },
}
SCSS
$custom: #a8ab2b;
$custom-light: #c5c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ab2b",
  "rgb": {
    "r": 168,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 61.406,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71636,
    "c": 0.14337,
    "h": 110.9
  },
  "luminance": 0.37625
}

Semantic roles & 50–950 ramp

primary
#A8AB2B
secondary
#706EC4
accent
#45E349
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8AB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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