#A8AB2D#A8AB2D

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

Color values

HEX#A8AB2D
RGBrgb(168, 171, 45)
HSLhsl(61, 58%, 42%)
HSVhsv(61, 74%, 67%)
CMYKcmyk(1.8%, 0%, 73.7%, 32.9%)
CIE-LABlab(67.76, -16.15, 60.27)
CIE-LCHlch(67.76, 62.40, 105.00°)
OKLaboklab(71.65% -0.0507 0.1329)
OKLCHoklch(71.65% 0.142 110.9)
XYZxyz(31.1861, 37.6410, 8.1048)
Luminance0.3764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AB2D #302DAB
analogous
#AB6F2D #A8AB2D #69AB2D
triadic
#A8AB2D #2DA8AB #AB2DA8
tetradic
#A8AB2D #2DAB6F #302DAB #AB2D69
square
#A8AB2D #2DAB6F #302DAB #AB2D69
split-complementary
#A8AB2D #2D69AB #6F2DAB
monochromatic
#494A14 #787B20 #A8AB2D #CBCE47 #D9DB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8AB2D#FFFFFF#000000##000000
##A8AB2D1.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)
#B9A313
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#B4A093
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a8ab2d;
/* rgb */ color: rgb(168, 171, 45);
/* oklch */ color: oklch(71.6% 0.142 110.9);
Tailwind
colors: {
  custom: {
    50: '#c5c370',
    500: '#a8ab2d',
    950: '#000000',
  },
}
SCSS
$custom: #a8ab2d;
$custom-light: #c5c370;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ab2d",
  "rgb": {
    "r": 168,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 61.429,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71648,
    "c": 0.14222,
    "h": 110.9
  },
  "luminance": 0.3764
}

Semantic roles & 50–950 ramp

primary
#A8AB2D
secondary
#7371C3
accent
#46E24A
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8AB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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