#A2B82E#A2B82E

#A2B82E is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.1% C 0.158 H 118.5°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#A2B82E
RGBrgb(162, 184, 46)
HSLhsl(70, 60%, 45%)
HSVhsv(70, 75%, 72%)
CMYKcmyk(12%, 0%, 75%, 27.8%)
CIE-LABlab(70.98, -25.16, 62.82)
CIE-LCHlch(70.98, 67.67, 111.82°)
OKLaboklab(74.12% -0.0752 0.1386)
OKLCHoklch(74.12% 0.158 118.5)
XYZxyz(32.5346, 42.1599, 9.0080)
Luminance0.4216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B82E #442EB8
analogous
#B8892E #A2B82E #5DB82E
triadic
#A2B82E #2EA2B8 #B82EA2
tetradic
#A2B82E #2EB889 #442EB8 #B82E5D
square
#A2B82E #2EB889 #442EB8 #B82E5D
split-complementary
#A2B82E #2E5DB8 #892EB8
monochromatic
#4C5616 #778722 #A2B82E #BED350 #D0DF81

Accessibility & contrast

On white

2.23
#A2B82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#A2B82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B82E
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B82E#FFFFFF#000000##000000
##A2B82E1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE0E
Deuteranopia (green-blind)
#C2AE3A
Tritanopia (blue-blind)
#ACAE9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a2b82e;
/* rgb */ color: rgb(162, 184, 46);
/* oklch */ color: oklch(74.1% 0.158 118.5);
Tailwind
colors: {
  custom: {
    50: '#c1cd71',
    500: '#a2b82e',
    950: '#000000',
  },
}
SCSS
$custom: #a2b82e;
$custom-light: #c1cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b82e",
  "rgb": {
    "r": 162,
    "g": 184,
    "b": 46
  },
  "hsl": {
    "h": 69.565,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74124,
    "c": 0.15775,
    "h": 118.5
  },
  "luminance": 0.4216
}

Semantic roles & 50–950 ramp

primary
#A2B82E
secondary
#8679C8
accent
#45E35E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B82E

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

Preview Lab → · Contrast checker → · Palette generator →

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