#A2B82D#A2B82D

#A2B82D 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#A2B82D
RGBrgb(162, 184, 45)
HSLhsl(69, 61%, 45%)
HSVhsv(69, 76%, 72%)
CMYKcmyk(12%, 0%, 75.5%, 27.8%)
CIE-LABlab(70.98, -25.20, 63.14)
CIE-LCHlch(70.98, 67.99, 111.76°)
OKLaboklab(74.12% -0.0755 0.1392)
OKLCHoklch(74.12% 0.158 118.5)
XYZxyz(32.5152, 42.1521, 8.9054)
Luminance0.4215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B82D #432DB8
analogous
#B8882D #A2B82D #5DB82D
triadic
#A2B82D #2DA2B8 #B82DA2
tetradic
#A2B82D #2DB888 #432DB8 #B82D5D
square
#A2B82D #2DB888 #432DB8 #B82D5D
split-complementary
#A2B82D #2D5DB8 #882DB8
monochromatic
#4B5615 #778721 #A2B82D #BFD44E #D1E080

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B82D#FFFFFF#000000##000000
##A2B82D1.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)
#C4AE0A
Deuteranopia (green-blind)
#C2AE3A
Tritanopia (blue-blind)
#ACAE9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a2b82d;
/* rgb */ color: rgb(162, 184, 45);
/* oklch */ color: oklch(74.1% 0.158 118.5);
Tailwind
colors: {
  custom: {
    50: '#c1cd71',
    500: '#a2b82d',
    950: '#000000',
  },
}
SCSS
$custom: #a2b82d;
$custom-light: #c1cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b82d",
  "rgb": {
    "r": 162,
    "g": 184,
    "b": 45
  },
  "hsl": {
    "h": 69.496,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74118,
    "c": 0.15829,
    "h": 118.5
  },
  "luminance": 0.42152
}

Semantic roles & 50–950 ramp

primary
#A2B82D
secondary
#8578C9
accent
#44E45D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B82D

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

Preview Lab → · Contrast checker → · Palette generator →

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