#A0AB21#A0AB21

#A0AB21 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#A0AB21
RGBrgb(160, 171, 33)
HSLhsl(65, 68%, 40%)
HSVhsv(65, 81%, 67%)
CMYKcmyk(6.4%, 0%, 80.7%, 32.9%)
CIE-LABlab(67.06, -20.11, 63.16)
CIE-LCHlch(67.06, 66.29, 107.66°)
OKLaboklab(70.91% -0.0622 0.1372)
OKLCHoklch(70.91% 0.151 114.4)
XYZxyz(29.3355, 36.7098, 6.9789)
Luminance0.3671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AB21 #2C21AB
analogous
#AB7121 #A0AB21 #5BAB21
triadic
#A0AB21 #21A0AB #AB21A0
tetradic
#A0AB21 #21AB71 #2C21AB #AB215B
square
#A0AB21 #21AB71 #2C21AB #AB215B
split-complementary
#A0AB21 #215BAB #7121AB
monochromatic
#40440D #707817 #A0AB21 #CAD732 #D7E165

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0AB21#FFFFFF#000000##000000
##A0AB211.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: #a0ab21;
/* rgb */ color: rgb(160, 171, 33);
/* oklch */ color: oklch(70.9% 0.151 114.4);
Tailwind
colors: {
  custom: {
    50: '#c0c36a',
    500: '#a0ab21',
    950: '#000000',
  },
}
SCSS
$custom: #a0ab21;
$custom-light: #c0c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#a0ab21",
  "rgb": {
    "r": 160,
    "g": 171,
    "b": 33
  },
  "hsl": {
    "h": 64.783,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.70915,
    "c": 0.15063,
    "h": 114.4
  },
  "luminance": 0.36709
}

Semantic roles & 50–950 ramp

primary
#A0AB21
secondary
#6961C7
accent
#3DEB4B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A0AB21

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

Preview Lab → · Contrast checker → · Palette generator →

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