#A2B832#A2B832

#A2B832 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.2% C 0.155 H 118.6°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#A2B832
RGBrgb(162, 184, 50)
HSLhsl(70, 57%, 46%)
HSVhsv(70, 73%, 72%)
CMYKcmyk(12%, 0%, 72.8%, 27.8%)
CIE-LABlab(71.00, -24.96, 61.48)
CIE-LCHlch(71.00, 66.35, 112.10°)
OKLaboklab(74.15% -0.0744 0.1365)
OKLCHoklch(74.15% 0.155 118.6)
XYZxyz(32.6172, 42.1929, 9.4428)
Luminance0.4219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B832 #4832B8
analogous
#B88B32 #A2B832 #5FB832
triadic
#A2B832 #32A2B8 #B832A2
tetradic
#A2B832 #32B88B #4832B8 #B8325F
square
#A2B832 #32B88B #4832B8 #B8325F
split-complementary
#A2B832 #325FB8 #8B32B8
monochromatic
#4D5818 #788825 #A2B832 #BDD156 #D0DE86

Accessibility & contrast

On white

2.22
#A2B832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#A2B832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B832
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B832#FFFFFF#000000##000000
##A2B8321.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE18
Deuteranopia (green-blind)
#C2AE3D
Tritanopia (blue-blind)
#ACAE9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a2b832;
/* rgb */ color: rgb(162, 184, 50);
/* oklch */ color: oklch(74.2% 0.155 118.6);
Tailwind
colors: {
  custom: {
    50: '#c1cd73',
    500: '#a2b832',
    950: '#000000',
  },
}
SCSS
$custom: #a2b832;
$custom-light: #c1cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b832",
  "rgb": {
    "r": 162,
    "g": 184,
    "b": 50
  },
  "hsl": {
    "h": 69.851,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.7415,
    "c": 0.15543,
    "h": 118.6
  },
  "luminance": 0.42193
}

Semantic roles & 50–950 ramp

primary
#A2B832
secondary
#8A7EC8
accent
#47E160
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B832

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

Preview Lab → · Contrast checker → · Palette generator →

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