#A2B72F#A2B72F

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

Color values

HEX#A2B72F
RGBrgb(162, 183, 47)
HSLhsl(69, 59%, 45%)
HSVhsv(69, 74%, 72%)
CMYKcmyk(11.5%, 0%, 74.3%, 28.2%)
CIE-LABlab(70.70, -24.62, 62.22)
CIE-LCHlch(70.70, 66.92, 111.59°)
OKLaboklab(73.9% -0.0737 0.1375)
OKLCHoklch(73.9% 0.156 118.2)
XYZxyz(32.3476, 41.7539, 9.0440)
Luminance0.4175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B72F #442FB7
analogous
#B7882F #A2B72F #5EB72F
triadic
#A2B72F #2FA2B7 #B72FA2
tetradic
#A2B72F #2FB788 #442FB7 #B72F5E
square
#A2B72F #2FB788 #442FB7 #B72F5E
split-complementary
#A2B72F #2F5EB7 #882FB7
monochromatic
#4C5616 #778622 #A2B72F #BED251 #D0DF82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B72F#FFFFFF#000000##000000
##A2B72F1.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)
#C3AD11
Deuteranopia (green-blind)
#C1AE3B
Tritanopia (blue-blind)
#ACAD9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a2b72f;
/* rgb */ color: rgb(162, 183, 47);
/* oklch */ color: oklch(73.9% 0.156 118.2);
Tailwind
colors: {
  custom: {
    50: '#c1cc72',
    500: '#a2b72f',
    950: '#000000',
  },
}
SCSS
$custom: #a2b72f;
$custom-light: #c1cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b72f",
  "rgb": {
    "r": 162,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 69.265,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.739,
    "c": 0.15604,
    "h": 118.2
  },
  "luminance": 0.41754
}

Semantic roles & 50–950 ramp

primary
#A2B72F
secondary
#867AC8
accent
#45E25E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B72F

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

Preview Lab → · Contrast checker → · Palette generator →

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