#A2B72C#A2B72C

#A2B72C 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.35:1 contrast (WCAG AA passes).

Color values

HEX#A2B72C
RGBrgb(162, 183, 44)
HSLhsl(69, 61%, 45%)
HSVhsv(69, 76%, 72%)
CMYKcmyk(11.5%, 0%, 76%, 28.2%)
CIE-LABlab(70.68, -24.76, 63.19)
CIE-LCHlch(70.68, 67.87, 111.40°)
OKLaboklab(73.88% -0.0743 0.1391)
OKLCHoklch(73.88% 0.158 118.1)
XYZxyz(32.2891, 41.7305, 8.7362)
Luminance0.4173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B72C #412CB7
analogous
#B7872C #A2B72C #5CB72C
triadic
#A2B72C #2CA2B7 #B72CA2
tetradic
#A2B72C #2CB787 #412CB7 #B72C5C
square
#A2B72C #2CB787 #412CB7 #B72C5C
split-complementary
#A2B72C #2C5CB7 #872CB7
monochromatic
#4B5414 #768620 #A2B72C #BFD44C #D1E07E

Accessibility & contrast

On white

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

On black

9.35
#A2B72C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B72C
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B72C#FFFFFF#000000##000000
##A2B72C1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b72c;
/* rgb */ color: rgb(162, 183, 44);
/* oklch */ color: oklch(73.9% 0.158 118.1);
Tailwind
colors: {
  custom: {
    50: '#c1cc70',
    500: '#a2b72c',
    950: '#000000',
  },
}
SCSS
$custom: #a2b72c;
$custom-light: #c1cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b72c",
  "rgb": {
    "r": 162,
    "g": 183,
    "b": 44
  },
  "hsl": {
    "h": 69.065,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73882,
    "c": 0.15771,
    "h": 118.1
  },
  "luminance": 0.4173
}

Semantic roles & 50–950 ramp

primary
#A2B72C
secondary
#8376C8
accent
#43E45C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B72C

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

Preview Lab → · Contrast checker → · Palette generator →

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