#A2B72D#A2B72D

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

Color values

HEX#A2B72D
RGBrgb(162, 183, 45)
HSLhsl(69, 61%, 45%)
HSVhsv(69, 75%, 72%)
CMYKcmyk(11.5%, 0%, 75.4%, 28.2%)
CIE-LABlab(70.69, -24.72, 62.88)
CIE-LCHlch(70.69, 67.56, 111.46°)
OKLaboklab(73.89% -0.0741 0.1386)
OKLCHoklch(73.89% 0.157 118.1)
XYZxyz(32.3082, 41.7381, 8.8364)
Luminance0.4174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B72D #422DB7
analogous
#B7872D #A2B72D #5DB72D
triadic
#A2B72D #2DA2B7 #B72DA2
tetradic
#A2B72D #2DB787 #422DB7 #B72D5D
square
#A2B72D #2DB787 #422DB7 #B72D5D
split-complementary
#A2B72D #2D5DB7 #872DB7
monochromatic
#4B5515 #778621 #A2B72D #BFD34E #D1DF7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B72D#FFFFFF#000000##000000
##A2B72D1.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)
#C3AD0B
Deuteranopia (green-blind)
#C1AE39
Tritanopia (blue-blind)
#ACAD9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a2b72d;
/* rgb */ color: rgb(162, 183, 45);
/* oklch */ color: oklch(73.9% 0.157 118.1);
Tailwind
colors: {
  custom: {
    50: '#c1cc71',
    500: '#a2b72d',
    950: '#000000',
  },
}
SCSS
$custom: #a2b72d;
$custom-light: #c1cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b72d",
  "rgb": {
    "r": 162,
    "g": 183,
    "b": 45
  },
  "hsl": {
    "h": 69.13,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73888,
    "c": 0.15716,
    "h": 118.1
  },
  "luminance": 0.41738
}

Semantic roles & 50–950 ramp

primary
#A2B72D
secondary
#8478C8
accent
#44E45C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B72D

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

Preview Lab → · Contrast checker → · Palette generator →

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