#A2B52B#A2B52B

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

Color values

HEX#A2B52B
RGBrgb(162, 181, 43)
HSLhsl(68, 62%, 44%)
HSVhsv(68, 76%, 71%)
CMYKcmyk(10.5%, 0%, 76.2%, 29%)
CIE-LABlab(70.11, -23.83, 62.98)
CIE-LCHlch(70.11, 67.34, 110.72°)
OKLaboklab(73.42% -0.0718 0.1385)
OKLCHoklch(73.42% 0.156 117.4)
XYZxyz(31.8610, 40.9039, 8.5018)
Luminance0.4090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B52B #3E2BB5
analogous
#B5832B #A2B52B #5DB52B
triadic
#A2B52B #2BA2B5 #B52BA2
tetradic
#A2B52B #2BB583 #3E2BB5 #B52B5D
square
#A2B52B #2BB583 #3E2BB5 #B52B5D
split-complementary
#A2B52B #2B5DB5 #832BB5
monochromatic
#495214 #76841F #A2B52B #C1D449 #D2E07B

Accessibility & contrast

On white

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

On black

9.18
#A2B52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B52B
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B52B#FFFFFF#000000##000000
##A2B52B1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b52b;
/* rgb */ color: rgb(162, 181, 43);
/* oklch */ color: oklch(73.4% 0.156 117.4);
Tailwind
colors: {
  custom: {
    50: '#c1cb70',
    500: '#a2b52b',
    950: '#000000',
  },
}
SCSS
$custom: #a2b52b;
$custom-light: #c1cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b52b",
  "rgb": {
    "r": 162,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 68.261,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73417,
    "c": 0.15598,
    "h": 117.4
  },
  "luminance": 0.40904
}

Semantic roles & 50–950 ramp

primary
#A2B52B
secondary
#8074C8
accent
#43E559
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B52B

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

Preview Lab → · Contrast checker → · Palette generator →

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