#A2AB58#A2AB58

#A2AB58 is a light, moderate yellow. Relative luminance 0.375; OKLCH L 71.6% C 0.108 H 114.3°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#A2AB58
RGBrgb(162, 171, 88)
HSLhsl(67, 33%, 51%)
HSVhsv(67, 49%, 67%)
CMYKcmyk(5.3%, 0%, 48.5%, 32.9%)
CIE-LABlab(67.66, -15.60, 41.35)
CIE-LCHlch(67.66, 44.19, 110.67°)
OKLaboklab(71.58% -0.0443 0.0984)
OKLCHoklch(71.58% 0.108 114.3)
XYZxyz(31.2251, 37.5122, 14.8263)
Luminance0.3751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AB58 #6158AB
analogous
#AB8A58 #A2AB58 #78AB58
triadic
#A2AB58 #58A2AB #AB58A2
tetradic
#A2AB58 #58AB8A #6158AB #AB5878
square
#A2AB58 #58AB8A #6158AB #AB5878
split-complementary
#A2AB58 #5878AB #8A58AB
monochromatic
#565B2E #7D8442 #A2AB58 #B9BF81 #CFD4A9

Accessibility & contrast

On white

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

On black

8.50
#A2AB58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AB58
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AB58#FFFFFF#000000##000000
##A2AB581.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A451
Deuteranopia (green-blind)
#B5A65C
Tritanopia (blue-blind)
#ABA398
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a2ab58;
/* rgb */ color: rgb(162, 171, 88);
/* oklch */ color: oklch(71.6% 0.108 114.3);
Tailwind
colors: {
  custom: {
    50: '#bfc389',
    500: '#a2ab58',
    950: '#000000',
  },
}
SCSS
$custom: #a2ab58;
$custom-light: #bfc389;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ab58",
  "rgb": {
    "r": 162,
    "g": 171,
    "b": 88
  },
  "hsl": {
    "h": 66.506,
    "s": 33.068,
    "l": 50.784
  },
  "oklch": {
    "l": 0.71577,
    "c": 0.10797,
    "h": 114.3
  },
  "luminance": 0.37512
}

Semantic roles & 50–950 ramp

primary
#A2AB58
secondary
#A19DC2
accent
#5FC96A
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A2AB58

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

Preview Lab → · Contrast checker → · Palette generator →

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