#A2B72B#A2B72B

#A2B72B is a light, vivid yellow. Relative luminance 0.417; OKLCH L 73.9% C 0.158 H 118.1°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#A2B72B
RGBrgb(162, 183, 43)
HSLhsl(69, 62%, 44%)
HSVhsv(69, 77%, 72%)
CMYKcmyk(11.5%, 0%, 76.5%, 28.2%)
CIE-LABlab(70.68, -24.81, 63.51)
CIE-LCHlch(70.68, 68.18, 111.33°)
OKLaboklab(73.88% -0.0745 0.1396)
OKLCHoklch(73.88% 0.158 118.1)
XYZxyz(32.2706, 41.7231, 8.6384)
Luminance0.4172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B72B #402BB7
analogous
#B7862B #A2B72B #5CB72B
triadic
#A2B72B #2BA2B7 #B72BA2
tetradic
#A2B72B #2BB786 #402BB7 #B72B5C
square
#A2B72B #2BB786 #402BB7 #B72B5C
split-complementary
#A2B72B #2B5CB7 #862BB7
monochromatic
#4A5414 #76851F #A2B72B #C0D54B #D1E07C

Accessibility & contrast

On white

2.25
#A2B72B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#A2B72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B72B
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B72B#FFFFFF#000000##000000
##A2B72B1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD04
Deuteranopia (green-blind)
#C1AE38
Tritanopia (blue-blind)
#ACAD9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a2b72b;
/* rgb */ color: rgb(162, 183, 43);
/* oklch */ color: oklch(73.9% 0.158 118.1);
Tailwind
colors: {
  custom: {
    50: '#c1cc70',
    500: '#a2b72b',
    950: '#000000',
  },
}
SCSS
$custom: #a2b72b;
$custom-light: #c1cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b72b",
  "rgb": {
    "r": 162,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 69,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73876,
    "c": 0.15823,
    "h": 118.1
  },
  "luminance": 0.41723
}

Semantic roles & 50–950 ramp

primary
#A2B72B
secondary
#8275C9
accent
#43E55B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B72B

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

Preview Lab → · Contrast checker → · Palette generator →

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