#A8AC2B#A8AC2B

#A8AC2B is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.9% C 0.144 H 111.3°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#A8AC2B
RGBrgb(168, 172, 43)
HSLhsl(62, 60%, 42%)
HSVhsv(62, 75%, 67%)
CMYKcmyk(2.3%, 0%, 75%, 32.5%)
CIE-LABlab(68.02, -16.75, 61.21)
CIE-LCHlch(68.02, 63.46, 105.31°)
OKLaboklab(71.86% -0.0526 0.1345)
OKLCHoklch(71.86% 0.144 111.3)
XYZxyz(31.3381, 38.0051, 7.9699)
Luminance0.3800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AC2B #2F2BAC
analogous
#AC6F2B #A8AC2B #68AC2B
triadic
#A8AC2B #2BA8AC #AC2BA8
tetradic
#A8AC2B #2BAC6F #2F2BAC #AC2B68
square
#A8AC2B #2BAC6F #2F2BAC #AC2B68
split-complementary
#A8AC2B #2B68AC #6F2BAC
monochromatic
#484A13 #787B1F #A8AC2B #CCD044 #D9DC75

Accessibility & contrast

On white

2.44
#A8AC2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#A8AC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AC2B
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AC2B#FFFFFF#000000##000000
##A8AC2B1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA40D
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#B4A194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a8ac2b;
/* rgb */ color: rgb(168, 172, 43);
/* oklch */ color: oklch(71.9% 0.144 111.3);
Tailwind
colors: {
  custom: {
    50: '#c5c46f',
    500: '#a8ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #a8ac2b;
$custom-light: #c5c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ac2b",
  "rgb": {
    "r": 168,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 61.86,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.7186,
    "c": 0.1444,
    "h": 111.3
  },
  "luminance": 0.38004
}

Semantic roles & 50–950 ramp

primary
#A8AC2B
secondary
#716FC4
accent
#45E34A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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