#A2B82B#A2B82B

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

Color values

HEX#A2B82B
RGBrgb(162, 184, 43)
HSLhsl(69, 62%, 45%)
HSVhsv(69, 77%, 72%)
CMYKcmyk(12%, 0%, 76.6%, 27.8%)
CIE-LABlab(70.97, -25.29, 63.77)
CIE-LCHlch(70.97, 68.61, 111.63°)
OKLaboklab(74.11% -0.0759 0.1401)
OKLCHoklch(74.11% 0.159 118.4)
XYZxyz(32.4776, 42.1371, 8.7074)
Luminance0.4214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B82B #412BB8
analogous
#B8882B #A2B82B #5BB82B
triadic
#A2B82B #2BA2B8 #B82BA2
tetradic
#A2B82B #2BB888 #412BB8 #B82B5B
square
#A2B82B #2BB888 #412BB8 #B82B5B
split-complementary
#A2B82B #2B5BB8 #882BB8
monochromatic
#4B5514 #76861F #A2B82B #BFD54B #D1E17D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B82B#FFFFFF#000000##000000
##A2B82B1.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)
#C4AE03
Deuteranopia (green-blind)
#C2AE38
Tritanopia (blue-blind)
#ACAE9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a2b82b;
/* rgb */ color: rgb(162, 184, 43);
/* oklch */ color: oklch(74.1% 0.159 118.4);
Tailwind
colors: {
  custom: {
    50: '#c1cd70',
    500: '#a2b82b',
    950: '#000000',
  },
}
SCSS
$custom: #a2b82b;
$custom-light: #c1cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b82b",
  "rgb": {
    "r": 162,
    "g": 184,
    "b": 43
  },
  "hsl": {
    "h": 69.362,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74106,
    "c": 0.15936,
    "h": 118.4
  },
  "luminance": 0.42137
}

Semantic roles & 50–950 ramp

primary
#A2B82B
secondary
#8376C9
accent
#43E55C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B82B

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

Preview Lab → · Contrast checker → · Palette generator →

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