#A2AB54#A2AB54

#A2AB54 is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.5% C 0.112 H 114.1°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#A2AB54
RGBrgb(162, 171, 84)
HSLhsl(66, 34%, 50%)
HSVhsv(66, 51%, 67%)
CMYKcmyk(5.3%, 0%, 50.9%, 32.9%)
CIE-LABlab(67.61, -15.98, 43.27)
CIE-LCHlch(67.61, 46.13, 110.28°)
OKLaboklab(71.52% -0.0458 0.1023)
OKLCHoklch(71.52% 0.112 114.1)
XYZxyz(31.0639, 37.4478, 13.9775)
Luminance0.3745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AB54 #5D54AB
analogous
#AB8954 #A2AB54 #76AB54
triadic
#A2AB54 #54A2AB #AB54A2
tetradic
#A2AB54 #54AB89 #5D54AB #AB5476
square
#A2AB54 #54AB89 #5D54AB #AB5476
split-complementary
#A2AB54 #5476AB #8954AB
monochromatic
#54592C #7B8240 #A2AB54 #B8BF7D #CFD3A6

Accessibility & contrast

On white

2.47
#A2AB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#A2AB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AB54
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AB54#FFFFFF#000000##000000
##A2AB541.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A44C
Deuteranopia (green-blind)
#B5A659
Tritanopia (blue-blind)
#ABA397
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a2ab54;
/* rgb */ color: rgb(162, 171, 84);
/* oklch */ color: oklch(71.5% 0.112 114.1);
Tailwind
colors: {
  custom: {
    50: '#bfc386',
    500: '#a2ab54',
    950: '#000000',
  },
}
SCSS
$custom: #a2ab54;
$custom-light: #bfc386;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ab54",
  "rgb": {
    "r": 162,
    "g": 171,
    "b": 84
  },
  "hsl": {
    "h": 66.207,
    "s": 34.118,
    "l": 50
  },
  "oklch": {
    "l": 0.71523,
    "c": 0.1121,
    "h": 114.1
  },
  "luminance": 0.37447
}

Semantic roles & 50–950 ramp

primary
#A2AB54
secondary
#9E9AC1
accent
#5ECA69
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #A2AB54

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

Preview Lab → · Contrast checker → · Palette generator →

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