#A2B82F#A2B82F

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

Color values

HEX#A2B82F
RGBrgb(162, 184, 47)
HSLhsl(70, 59%, 45%)
HSVhsv(70, 74%, 72%)
CMYKcmyk(12%, 0%, 74.5%, 27.8%)
CIE-LABlab(70.99, -25.11, 62.49)
CIE-LCHlch(70.99, 67.35, 111.89°)
OKLaboklab(74.13% -0.075 0.1381)
OKLCHoklch(74.13% 0.157 118.5)
XYZxyz(32.5546, 42.1679, 9.1130)
Luminance0.4217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B82F #452FB8
analogous
#B8892F #A2B82F #5DB82F
triadic
#A2B82F #2FA2B8 #B82FA2
tetradic
#A2B82F #2FB889 #452FB8 #B82F5D
square
#A2B82F #2FB889 #452FB8 #B82F5D
split-complementary
#A2B82F #2F5DB8 #892FB8
monochromatic
#4C5716 #778723 #A2B82F #BED352 #D0DF82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B82F#FFFFFF#000000##000000
##A2B82F1.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)
#C4AE11
Deuteranopia (green-blind)
#C2AE3B
Tritanopia (blue-blind)
#ACAE9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a2b82f;
/* rgb */ color: rgb(162, 184, 47);
/* oklch */ color: oklch(74.1% 0.157 118.5);
Tailwind
colors: {
  custom: {
    50: '#c1cd72',
    500: '#a2b82f',
    950: '#000000',
  },
}
SCSS
$custom: #a2b82f;
$custom-light: #c1cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b82f",
  "rgb": {
    "r": 162,
    "g": 184,
    "b": 47
  },
  "hsl": {
    "h": 69.635,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.7413,
    "c": 0.15719,
    "h": 118.5
  },
  "luminance": 0.42168
}

Semantic roles & 50–950 ramp

primary
#A2B82F
secondary
#877BC8
accent
#45E25F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B82F

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

Preview Lab → · Contrast checker → · Palette generator →

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