#A2AB45#A2AB45

#A2AB45 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.3% C 0.126 H 113.8°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#A2AB45
RGBrgb(162, 171, 69)
HSLhsl(65, 43%, 47%)
HSVhsv(65, 60%, 67%)
CMYKcmyk(5.3%, 0%, 59.6%, 32.9%)
CIE-LABlab(67.45, -17.26, 50.16)
CIE-LCHlch(67.45, 53.04, 108.99°)
OKLaboklab(71.35% -0.051 0.1155)
OKLCHoklch(71.35% 0.126 113.8)
XYZxyz(30.5381, 37.2374, 11.2079)
Luminance0.3724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AB45 #4E45AB
analogous
#AB8145 #A2AB45 #6FAB45
triadic
#A2AB45 #45A2AB #AB45A2
tetradic
#A2AB45 #45AB81 #4E45AB #AB456F
square
#A2AB45 #45AB81 #4E45AB #AB456F
split-complementary
#A2AB45 #456FAB #8145AB
monochromatic
#4F5422 #797F33 #A2AB45 #BBC36A #CFD596

Accessibility & contrast

On white

2.49
#A2AB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#A2AB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AB45
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AB45#FFFFFF#000000##000000
##A2AB451.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A339
Deuteranopia (green-blind)
#B6A54B
Tritanopia (blue-blind)
#ACA295
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ab45;
/* rgb */ color: rgb(162, 171, 69);
/* oklch */ color: oklch(71.3% 0.126 113.8);
Tailwind
colors: {
  custom: {
    50: '#c0c37d',
    500: '#a2ab45',
    950: '#000000',
  },
}
SCSS
$custom: #a2ab45;
$custom-light: #c0c37d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ab45",
  "rgb": {
    "r": 162,
    "g": 171,
    "b": 69
  },
  "hsl": {
    "h": 65.294,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71347,
    "c": 0.12625,
    "h": 113.8
  },
  "luminance": 0.37237
}

Semantic roles & 50–950 ramp

primary
#A2AB45
secondary
#908BC0
accent
#56D261
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A2AB45

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

Preview Lab → · Contrast checker → · Palette generator →

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