#A2AB28#A2AB28

#A2AB28 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.1% C 0.147 H 113.6°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#A2AB28
RGBrgb(162, 171, 40)
HSLhsl(64, 62%, 41%)
HSVhsv(64, 77%, 67%)
CMYKcmyk(5.3%, 0%, 76.6%, 32.9%)
CIE-LABlab(67.25, -18.97, 61.30)
CIE-LCHlch(67.25, 64.17, 107.20°)
OKLaboklab(71.11% -0.0587 0.1344)
OKLCHoklch(71.11% 0.147 113.6)
XYZxyz(29.8471, 36.9610, 7.5690)
Luminance0.3696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AB28 #3128AB
analogous
#AB7328 #A2AB28 #61AB28
triadic
#A2AB28 #28A2AB #AB28A2
tetradic
#A2AB28 #28AB73 #3128AB #AB2861
square
#A2AB28 #28AB73 #3128AB #AB2861
split-complementary
#A2AB28 #2861AB #7328AB
monochromatic
#444811 #73791C #A2AB28 #C8D23E #D6DE70

Accessibility & contrast

On white

2.50
#A2AB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#A2AB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AB28
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AB28#FFFFFF#000000##000000
##A2AB281.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A204
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#ADA093
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ab28;
/* rgb */ color: rgb(162, 171, 40);
/* oklch */ color: oklch(71.1% 0.147 113.6);
Tailwind
colors: {
  custom: {
    50: '#c1c36d',
    500: '#a2ab28',
    950: '#000000',
  },
}
SCSS
$custom: #a2ab28;
$custom-light: #c1c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ab28",
  "rgb": {
    "r": 162,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 64.122,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71115,
    "c": 0.14661,
    "h": 113.6
  },
  "luminance": 0.3696
}

Semantic roles & 50–950 ramp

primary
#A2AB28
secondary
#716AC4
accent
#43E54E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AB28

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

Preview Lab → · Contrast checker → · Palette generator →

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