#A2B52F#A2B52F

#A2B52F is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.4% C 0.154 H 117.5°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#A2B52F
RGBrgb(162, 181, 47)
HSLhsl(69, 59%, 45%)
HSVhsv(69, 74%, 71%)
CMYKcmyk(10.5%, 0%, 74%, 29%)
CIE-LABlab(70.13, -23.64, 61.68)
CIE-LCHlch(70.13, 66.05, 110.97°)
OKLaboklab(73.44% -0.071 0.1364)
OKLCHoklch(73.44% 0.154 117.5)
XYZxyz(31.9380, 40.9347, 8.9075)
Luminance0.4093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B52F #422FB5
analogous
#B5852F #A2B52F #5FB52F
triadic
#A2B52F #2FA2B5 #B52FA2
tetradic
#A2B52F #2FB585 #422FB5 #B52F5F
square
#A2B52F #2FB585 #422FB5 #B52F5F
split-complementary
#A2B52F #2F5FB5 #852FB5
monochromatic
#4B5416 #778422 #A2B52F #BFD150 #D1DE80

Accessibility & contrast

On white

2.29
#A2B52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#A2B52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B52F
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B52F#FFFFFF#000000##000000
##A2B52F1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB12
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#ACAB9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b52f;
/* rgb */ color: rgb(162, 181, 47);
/* oklch */ color: oklch(73.4% 0.154 117.5);
Tailwind
colors: {
  custom: {
    50: '#c1cb72',
    500: '#a2b52f',
    950: '#000000',
  },
}
SCSS
$custom: #a2b52f;
$custom-light: #c1cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b52f",
  "rgb": {
    "r": 162,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 68.507,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73441,
    "c": 0.15376,
    "h": 117.5
  },
  "luminance": 0.40934
}

Semantic roles & 50–950 ramp

primary
#A2B52F
secondary
#8479C7
accent
#46E25C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B52F

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

Preview Lab → · Contrast checker → · Palette generator →

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