#A2A82B#A2A82B

#A2A82B is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.5% C 0.142 H 112.3°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#A2A82B
RGBrgb(162, 168, 43)
HSLhsl(63, 59%, 41%)
HSVhsv(63, 74%, 66%)
CMYKcmyk(3.6%, 0%, 74.4%, 34.1%)
CIE-LABlab(66.41, -17.32, 59.52)
CIE-LCHlch(66.41, 61.99, 106.22°)
OKLaboklab(70.45% -0.0538 0.1312)
OKLCHoklch(70.45% 0.142 112.3)
XYZxyz(29.3399, 35.8618, 7.6615)
Luminance0.3586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A82B #312BA8
analogous
#A8702B #A2A82B #64A82B
triadic
#A2A82B #2BA2A8 #A82BA2
tetradic
#A2A82B #2BA870 #312BA8 #A82B64
square
#A2A82B #2BA870 #312BA8 #A82B64
split-complementary
#A2A82B #2B64A8 #702BA8
monochromatic
#444712 #73771F #A2A82B #C8CF42 #D6DB72

Accessibility & contrast

On white

2.57
#A2A82B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#A2A82B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A82B
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A82B#FFFFFF#000000##000000
##A2A82B1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A010
Deuteranopia (green-blind)
#B5A335
Tritanopia (blue-blind)
#AD9E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a82b;
/* rgb */ color: rgb(162, 168, 43);
/* oklch */ color: oklch(70.5% 0.142 112.3);
Tailwind
colors: {
  custom: {
    50: '#c1c16e',
    500: '#a2a82b',
    950: '#000000',
  },
}
SCSS
$custom: #a2a82b;
$custom-light: #c1c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a82b",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 43
  },
  "hsl": {
    "h": 62.88,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70453,
    "c": 0.14176,
    "h": 112.3
  },
  "luminance": 0.35861
}

Semantic roles & 50–950 ramp

primary
#A2A82B
secondary
#716CC2
accent
#45E24D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A82B

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

Preview Lab → · Contrast checker → · Palette generator →

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