#A2B132#A2B132

#A2B132 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.5% C 0.147 H 116.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#A2B132
RGBrgb(162, 177, 50)
HSLhsl(67, 56%, 45%)
HSVhsv(67, 72%, 69%)
CMYKcmyk(8.5%, 0%, 71.8%, 30.6%)
CIE-LABlab(69.01, -21.51, 59.54)
CIE-LCHlch(69.01, 63.31, 109.86°)
OKLaboklab(72.55% -0.0648 0.1324)
OKLCHoklch(72.55% 0.147 116.1)
XYZxyz(31.1989, 39.3564, 8.9700)
Luminance0.3936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B132 #4132B1
analogous
#B18132 #A2B132 #62B132
triadic
#A2B132 #32A2B1 #B132A2
tetradic
#A2B132 #32B181 #4132B1 #B13262
square
#A2B132 #32B181 #4132B1 #B13262
split-complementary
#A2B132 #3262B1 #8132B1
monochromatic
#4B5217 #768125 #A2B132 #BFCE52 #D1DC82

Accessibility & contrast

On white

2.37
#A2B132 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#A2B132 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B132
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B132#FFFFFF#000000##000000
##A2B1321.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA81B
Deuteranopia (green-blind)
#BCA93C
Tritanopia (blue-blind)
#ACA798
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b132;
/* rgb */ color: rgb(162, 177, 50);
/* oklch */ color: oklch(72.5% 0.147 116.1);
Tailwind
colors: {
  custom: {
    50: '#c1c873',
    500: '#a2b132',
    950: '#000000',
  },
}
SCSS
$custom: #a2b132;
$custom-light: #c1c873;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b132",
  "rgb": {
    "r": 162,
    "g": 177,
    "b": 50
  },
  "hsl": {
    "h": 67.087,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72546,
    "c": 0.14742,
    "h": 116.1
  },
  "luminance": 0.39356
}

Semantic roles & 50–950 ramp

primary
#A2B132
secondary
#837AC5
accent
#49DF5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B132

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

Preview Lab → · Contrast checker → · Palette generator →

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