#A2AB2C#A2AB2C

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

Color values

HEX#A2AB2C
RGBrgb(162, 171, 44)
HSLhsl(64, 59%, 42%)
HSVhsv(64, 74%, 67%)
CMYKcmyk(5.3%, 0%, 74.3%, 32.9%)
CIE-LABlab(67.27, -18.79, 59.99)
CIE-LCHlch(67.27, 62.86, 107.40°)
OKLaboklab(71.14% -0.0578 0.1323)
OKLCHoklch(71.14% 0.144 113.6)
XYZxyz(29.9187, 36.9897, 7.9460)
Luminance0.3699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AB2C #352CAB
analogous
#AB752C #A2AB2C #63AB2C
triadic
#A2AB2C #2CA2AB #AB2CA2
tetradic
#A2AB2C #2CAB75 #352CAB #AB2C63
square
#A2AB2C #2CAB75 #352CAB #AB2C63
split-complementary
#A2AB2C #2C63AB #752CAB
monochromatic
#464A13 #747A1F #A2AB2C #C5CF45 #D4DC76

Accessibility & contrast

On white

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

On black

8.40
#A2AB2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AB2C
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AB2C#FFFFFF#000000##000000
##A2AB2C1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A311
Deuteranopia (green-blind)
#B8A537
Tritanopia (blue-blind)
#ADA193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ab2c;
/* rgb */ color: rgb(162, 171, 44);
/* oklch */ color: oklch(71.1% 0.144 113.6);
Tailwind
colors: {
  custom: {
    50: '#c1c36f',
    500: '#a2ab2c',
    950: '#000000',
  },
}
SCSS
$custom: #a2ab2c;
$custom-light: #c1c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ab2c",
  "rgb": {
    "r": 162,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 64.252,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71139,
    "c": 0.14439,
    "h": 113.6
  },
  "luminance": 0.36989
}

Semantic roles & 50–950 ramp

primary
#A2AB2C
secondary
#756FC3
accent
#46E251
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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