#A2A82E#A2A82E

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

Color values

HEX#A2A82E
RGBrgb(162, 168, 46)
HSLhsl(63, 57%, 42%)
HSVhsv(63, 73%, 66%)
CMYKcmyk(3.6%, 0%, 72.6%, 34.1%)
CIE-LABlab(66.43, -17.17, 58.49)
CIE-LCHlch(66.43, 60.96, 106.36°)
OKLaboklab(70.47% -0.0531 0.1295)
OKLCHoklch(70.47% 0.14 112.3)
XYZxyz(29.3970, 35.8846, 7.9621)
Luminance0.3588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A82E #342EA8
analogous
#A8712E #A2A82E #65A82E
triadic
#A2A82E #2EA2A8 #A82EA2
tetradic
#A2A82E #2EA871 #342EA8 #A82E65
square
#A2A82E #2EA871 #342EA8 #A82E65
split-complementary
#A2A82E #2E65A8 #712EA8
monochromatic
#454814 #747821 #A2A82E #C6CD47 #D5DA77

Accessibility & contrast

On white

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

On black

8.18
#A2A82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A82E
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A82E#FFFFFF#000000##000000
##A2A82E1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2a82e;
/* rgb */ color: rgb(162, 168, 46);
/* oklch */ color: oklch(70.5% 0.140 112.3);
Tailwind
colors: {
  custom: {
    50: '#c1c170',
    500: '#a2a82e',
    950: '#000000',
  },
}
SCSS
$custom: #a2a82e;
$custom-light: #c1c170;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a82e",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 46
  },
  "hsl": {
    "h": 62.951,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70472,
    "c": 0.13996,
    "h": 112.3
  },
  "luminance": 0.35884
}

Semantic roles & 50–950 ramp

primary
#A2A82E
secondary
#7470C2
accent
#48E04F
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A82E

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

Preview Lab → · Contrast checker → · Palette generator →

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