#A2AB3E#A2AB3E

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

Color values

HEX#A2AB3E
RGBrgb(162, 171, 62)
HSLhsl(65, 47%, 46%)
HSVhsv(65, 64%, 67%)
CMYKcmyk(5.3%, 0%, 63.7%, 32.9%)
CIE-LABlab(67.39, -17.77, 53.16)
CIE-LCHlch(67.39, 56.05, 108.48°)
OKLaboklab(71.28% -0.0532 0.1209)
OKLCHoklch(71.28% 0.132 113.7)
XYZxyz(30.3335, 37.1556, 10.1303)
Luminance0.3715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AB3E #473EAB
analogous
#AB7D3E #A2AB3E #6BAB3E
triadic
#A2AB3E #3EA2AB #AB3EA2
tetradic
#A2AB3E #3EAB7D #473EAB #AB3E6B
square
#A2AB3E #3EAB7D #473EAB #AB3E6B
split-complementary
#A2AB3E #3E6BAB #7D3EAB
monochromatic
#4D511D #777E2E #A2AB3E #BDC661 #D0D68E

Accessibility & contrast

On white

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

On black

8.43
#A2AB3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AB3E
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AB3E#FFFFFF#000000##000000
##A2AB3E1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A330
Deuteranopia (green-blind)
#B7A545
Tritanopia (blue-blind)
#ACA194
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ab3e;
/* rgb */ color: rgb(162, 171, 62);
/* oklch */ color: oklch(71.3% 0.132 113.7);
Tailwind
colors: {
  custom: {
    50: '#c0c379',
    500: '#a2ab3e',
    950: '#000000',
  },
}
SCSS
$custom: #a2ab3e;
$custom-light: #c0c379;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ab3e",
  "rgb": {
    "r": 162,
    "g": 171,
    "b": 62
  },
  "hsl": {
    "h": 64.954,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71279,
    "c": 0.13205,
    "h": 113.7
  },
  "luminance": 0.37155
}

Semantic roles & 50–950 ramp

primary
#A2AB3E
secondary
#8984C1
accent
#51D65C
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A2AB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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