#A0AB22#A0AB22

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

Color values

HEX#A0AB22
RGBrgb(160, 171, 34)
HSLhsl(65, 67%, 40%)
HSVhsv(65, 80%, 67%)
CMYKcmyk(6.4%, 0%, 80.1%, 32.9%)
CIE-LABlab(67.06, -20.08, 62.89)
CIE-LCHlch(67.06, 66.01, 107.70°)
OKLaboklab(70.92% -0.0621 0.1368)
OKLCHoklch(70.92% 0.15 114.4)
XYZxyz(29.3498, 36.7155, 7.0538)
Luminance0.3671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AB22 #2D22AB
analogous
#AB7222 #A0AB22 #5BAB22
triadic
#A0AB22 #22A0AB #AB22A0
tetradic
#A0AB22 #22AB72 #2D22AB #AB225B
square
#A0AB22 #22AB72 #2D22AB #AB225B
split-complementary
#A0AB22 #225BAB #7222AB
monochromatic
#40450E #707818 #A0AB22 #C9D734 #D7E167

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0AB22#FFFFFF#000000##000000
##A0AB221.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)
#B7A42F
Tritanopia (blue-blind)
#ABA092
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a0ab22;
/* rgb */ color: rgb(160, 171, 34);
/* oklch */ color: oklch(70.9% 0.150 114.4);
Tailwind
colors: {
  custom: {
    50: '#c0c36a',
    500: '#a0ab22',
    950: '#000000',
  },
}
SCSS
$custom: #a0ab22;
$custom-light: #c0c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#a0ab22",
  "rgb": {
    "r": 160,
    "g": 171,
    "b": 34
  },
  "hsl": {
    "h": 64.818,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70919,
    "c": 0.15018,
    "h": 114.4
  },
  "luminance": 0.36715
}

Semantic roles & 50–950 ramp

primary
#A0AB22
secondary
#6B63C6
accent
#3EEA4C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A0AB22

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

Preview Lab → · Contrast checker → · Palette generator →

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