#A2B72E#A2B72E

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

Color values

HEX#A2B72E
RGBrgb(162, 183, 46)
HSLhsl(69, 60%, 45%)
HSVhsv(69, 75%, 72%)
CMYKcmyk(11.5%, 0%, 74.9%, 28.2%)
CIE-LABlab(70.70, -24.67, 62.55)
CIE-LCHlch(70.70, 67.24, 111.52°)
OKLaboklab(73.89% -0.0739 0.1381)
OKLCHoklch(73.89% 0.157 118.2)
XYZxyz(32.3277, 41.7459, 8.9390)
Luminance0.4175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B72E #432EB7
analogous
#B7872E #A2B72E #5EB72E
triadic
#A2B72E #2EA2B7 #B72EA2
tetradic
#A2B72E #2EB787 #432EB7 #B72E5E
square
#A2B72E #2EB787 #432EB7 #B72E5E
split-complementary
#A2B72E #2E5EB7 #872EB7
monochromatic
#4B5515 #778622 #A2B72E #BFD34F #D1DF80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B72E#FFFFFF#000000##000000
##A2B72E1.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)
#C3AD0E
Deuteranopia (green-blind)
#C1AE3A
Tritanopia (blue-blind)
#ACAD9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a2b72e;
/* rgb */ color: rgb(162, 183, 46);
/* oklch */ color: oklch(73.9% 0.157 118.2);
Tailwind
colors: {
  custom: {
    50: '#c1cc71',
    500: '#a2b72e',
    950: '#000000',
  },
}
SCSS
$custom: #a2b72e;
$custom-light: #c1cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b72e",
  "rgb": {
    "r": 162,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 69.197,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73894,
    "c": 0.15661,
    "h": 118.2
  },
  "luminance": 0.41746
}

Semantic roles & 50–950 ramp

primary
#A2B72E
secondary
#8579C8
accent
#45E35D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B72E

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

Preview Lab → · Contrast checker → · Palette generator →

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