#A0AC31#A0AC31

#A0AC31 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.2% C 0.143 H 114.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#A0AC31
RGBrgb(160, 172, 49)
HSLhsl(66, 56%, 43%)
HSVhsv(66, 72%, 67%)
CMYKcmyk(7%, 0%, 71.5%, 32.5%)
CIE-LABlab(67.43, -19.91, 58.31)
CIE-LCHlch(67.43, 61.62, 108.85°)
OKLaboklab(71.24% -0.0603 0.1297)
OKLCHoklch(71.24% 0.143 114.9)
XYZxyz(29.8049, 37.2009, 8.5155)
Luminance0.3720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AC31 #3D31AC
analogous
#AC7A31 #A0AC31 #62AC31
triadic
#A0AC31 #31A0AC #AC31A0
tetradic
#A0AC31 #31AC7A #3D31AC #AC3162
square
#A0AC31 #31AC7A #3D31AC #AC3162
split-complementary
#A0AC31 #3162AC #7A31AC
monochromatic
#474D16 #747C23 #A0AC31 #C0CC4E #D1DA7D

Accessibility & contrast

On white

2.49
#A0AC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#A0AC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0AC31
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0AC31#FFFFFF#000000##000000
##A0AC311.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31B
Deuteranopia (green-blind)
#B8A53B
Tritanopia (blue-blind)
#AAA294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a0ac31;
/* rgb */ color: rgb(160, 172, 49);
/* oklch */ color: oklch(71.2% 0.143 114.9);
Tailwind
colors: {
  custom: {
    50: '#bfc472',
    500: '#a0ac31',
    950: '#000000',
  },
}
SCSS
$custom: #a0ac31;
$custom-light: #bfc472;
$custom-dark: #000000;
JSON
{
  "hex": "#a0ac31",
  "rgb": {
    "r": 160,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 65.854,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71237,
    "c": 0.14305,
    "h": 114.9
  },
  "luminance": 0.372
}

Semantic roles & 50–950 ramp

primary
#A0AC31
secondary
#7D76C3
accent
#49DF57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A0AC31

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

Preview Lab → · Contrast checker → · Palette generator →

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