#A8AC2C#A8AC2C

#A8AC2C 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#A8AC2C
RGBrgb(168, 172, 44)
HSLhsl(62, 59%, 42%)
HSVhsv(62, 74%, 67%)
CMYKcmyk(2.3%, 0%, 74.4%, 32.5%)
CIE-LABlab(68.03, -16.71, 60.88)
CIE-LCHlch(68.03, 63.13, 105.35°)
OKLaboklab(71.87% -0.0523 0.134)
OKLCHoklch(71.87% 0.144 111.3)
XYZxyz(31.3567, 38.0125, 8.0678)
Luminance0.3801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AC2C #302CAC
analogous
#AC702C #A8AC2C #68AC2C
triadic
#A8AC2C #2CA8AC #AC2CA8
tetradic
#A8AC2C #2CAC70 #302CAC #AC2C68
square
#A8AC2C #2CAC70 #302CAC #AC2C68
split-complementary
#A8AC2C #2C68AC #702CAC
monochromatic
#494B13 #787B20 #A8AC2C #CBD046 #D9DC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8AC2C#FFFFFF#000000##000000
##A8AC2C1.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)
#BAA410
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#B4A194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a8ac2c;
/* rgb */ color: rgb(168, 172, 44);
/* oklch */ color: oklch(71.9% 0.144 111.3);
Tailwind
colors: {
  custom: {
    50: '#c5c46f',
    500: '#a8ac2c',
    950: '#000000',
  },
}
SCSS
$custom: #a8ac2c;
$custom-light: #c5c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ac2c",
  "rgb": {
    "r": 168,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 61.875,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71866,
    "c": 0.14384,
    "h": 111.3
  },
  "luminance": 0.38012
}

Semantic roles & 50–950 ramp

primary
#A8AC2C
secondary
#7370C4
accent
#45E24A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8AC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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