#A0AB20#A0AB20

#A0AB20 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.9% C 0.151 H 114.4°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#A0AB20
RGBrgb(160, 171, 32)
HSLhsl(65, 68%, 40%)
HSVhsv(65, 81%, 67%)
CMYKcmyk(6.4%, 0%, 81.3%, 32.9%)
CIE-LABlab(67.05, -20.15, 63.44)
CIE-LCHlch(67.05, 66.56, 107.62°)
OKLaboklab(70.91% -0.0624 0.1376)
OKLCHoklch(70.91% 0.151 114.4)
XYZxyz(29.3217, 36.7043, 6.9062)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AB20 #2B20AB
analogous
#AB7020 #A0AB20 #5BAB20
triadic
#A0AB20 #20A0AB #AB20A0
tetradic
#A0AB20 #20AB70 #2B20AB #AB205B
square
#A0AB20 #20AB70 #2B20AB #AB205B
split-complementary
#A0AB20 #205BAB #7020AB
monochromatic
#40440D #707716 #A0AB20 #CBD830 #D8E263

Accessibility & contrast

On white

2.52
#A0AB20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#A0AB20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0AB20
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0AB20#FFFFFF#000000##000000
##A0AB201.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B7A42E
Tritanopia (blue-blind)
#ABA092
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a0ab20;
/* rgb */ color: rgb(160, 171, 32);
/* oklch */ color: oklch(70.9% 0.151 114.4);
Tailwind
colors: {
  custom: {
    50: '#c0c36a',
    500: '#a0ab20',
    950: '#000000',
  },
}
SCSS
$custom: #a0ab20;
$custom-light: #c0c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#a0ab20",
  "rgb": {
    "r": 160,
    "g": 171,
    "b": 32
  },
  "hsl": {
    "h": 64.748,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.7091,
    "c": 0.15107,
    "h": 114.4
  },
  "luminance": 0.36704
}

Semantic roles & 50–950 ramp

primary
#A0AB20
secondary
#6860C7
accent
#3CEB4A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A0AB20

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

Preview Lab → · Contrast checker → · Palette generator →

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