#A0AC21#A0AC21

#A0AC21 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.1% C 0.152 H 114.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#A0AC21
RGBrgb(160, 172, 33)
HSLhsl(65, 68%, 40%)
HSVhsv(65, 81%, 67%)
CMYKcmyk(7%, 0%, 80.8%, 32.5%)
CIE-LABlab(67.34, -20.61, 63.42)
CIE-LCHlch(67.34, 66.68, 108.01°)
OKLaboklab(71.14% -0.0636 0.1377)
OKLCHoklch(71.14% 0.152 114.8)
XYZxyz(29.5251, 37.0890, 7.0421)
Luminance0.3709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AC21 #2D21AC
analogous
#AC7321 #A0AC21 #5AAC21
triadic
#A0AC21 #21A0AC #AC21A0
tetradic
#A0AC21 #21AC73 #2D21AC #AC215A
square
#A0AC21 #21AC73 #2D21AC #AC215A
split-complementary
#A0AC21 #215AAC #7321AC
monochromatic
#40450D #707917 #A0AC21 #C9D832 #D7E266

Accessibility & contrast

On white

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

On black

8.42
#A0AC21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0AC21
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0AC21#FFFFFF#000000##000000
##A0AC211.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B8A52F
Tritanopia (blue-blind)
#ABA193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a0ac21;
/* rgb */ color: rgb(160, 172, 33);
/* oklch */ color: oklch(71.1% 0.152 114.8);
Tailwind
colors: {
  custom: {
    50: '#c0c46a',
    500: '#a0ac21',
    950: '#000000',
  },
}
SCSS
$custom: #a0ac21;
$custom-light: #c0c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#a0ac21",
  "rgb": {
    "r": 160,
    "g": 172,
    "b": 33
  },
  "hsl": {
    "h": 65.18,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.71143,
    "c": 0.15169,
    "h": 114.8
  },
  "luminance": 0.37088
}

Semantic roles & 50–950 ramp

primary
#A0AC21
secondary
#6B62C7
accent
#3DEB4C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A0AC21

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

Preview Lab → · Contrast checker → · Palette generator →

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