#A2A81B#A2A81B

#A2A81B is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.149 H 112.3°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#A2A81B
RGBrgb(162, 168, 27)
HSLhsl(63, 72%, 38%)
HSVhsv(63, 84%, 66%)
CMYKcmyk(3.6%, 0%, 83.9%, 34.1%)
CIE-LABlab(66.34, -17.92, 64.18)
CIE-LCHlch(66.34, 66.63, 105.60°)
OKLaboklab(70.37% -0.0567 0.1382)
OKLCHoklch(70.37% 0.149 112.3)
XYZxyz(29.1018, 35.7665, 6.4073)
Luminance0.3577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A81B #211BA8
analogous
#A8671B #A2A81B #5BA81B
triadic
#A2A81B #1BA2A8 #A81BA2
tetradic
#A2A81B #1BA867 #211BA8 #A81B5B
square
#A2A81B #1BA867 #211BA8 #A81B5B
split-complementary
#A2A81B #1B5BA8 #671BA8
monochromatic
#3C3F0A #6F7313 #A2A81B #D4DC24 #DEE459

Accessibility & contrast

On white

2.58
#A2A81B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#A2A81B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A81B
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A81B#FFFFFF#000000##000000
##A2A81B1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B6A32A
Tritanopia (blue-blind)
#AE9D8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a81b;
/* rgb */ color: rgb(162, 168, 27);
/* oklch */ color: oklch(70.4% 0.149 112.3);
Tailwind
colors: {
  custom: {
    50: '#c2c167',
    500: '#a2a81b',
    950: '#000000',
  },
}
SCSS
$custom: #a2a81b;
$custom-light: #c2c167;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a81b",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 27
  },
  "hsl": {
    "h": 62.553,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.70371,
    "c": 0.14939,
    "h": 112.3
  },
  "luminance": 0.35766
}

Semantic roles & 50–950 ramp

primary
#A2A81B
secondary
#5C57C8
accent
#39EF41
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A81B

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

Preview Lab → · Contrast checker → · Palette generator →

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