#A2B232#A2B232

#A2B232 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.8% C 0.149 H 116.5°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#A2B232
RGBrgb(162, 178, 50)
HSLhsl(68, 56%, 45%)
HSVhsv(68, 72%, 70%)
CMYKcmyk(9%, 0%, 71.9%, 30.2%)
CIE-LABlab(69.29, -22.01, 59.82)
CIE-LCHlch(69.29, 63.74, 110.20°)
OKLaboklab(72.77% -0.0662 0.133)
OKLCHoklch(72.77% 0.149 116.5)
XYZxyz(31.3972, 39.7529, 9.0361)
Luminance0.3975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B232 #4232B2
analogous
#B28232 #A2B232 #62B232
triadic
#A2B232 #32A2B2 #B232A2
tetradic
#A2B232 #32B282 #4232B2 #B23262
square
#A2B232 #32B282 #4232B2 #B23262
split-complementary
#A2B232 #3262B2 #8232B2
monochromatic
#4B5217 #778225 #A2B232 #BFCF53 #D1DC82

Accessibility & contrast

On white

2.35
#A2B232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#A2B232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B232
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B232#FFFFFF#000000##000000
##A2B2321.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA91B
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#ACA899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b232;
/* rgb */ color: rgb(162, 178, 50);
/* oklch */ color: oklch(72.8% 0.149 116.5);
Tailwind
colors: {
  custom: {
    50: '#c1c873',
    500: '#a2b232',
    950: '#000000',
  },
}
SCSS
$custom: #a2b232;
$custom-light: #c1c873;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b232",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 50
  },
  "hsl": {
    "h": 67.5,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72774,
    "c": 0.14855,
    "h": 116.5
  },
  "luminance": 0.39752
}

Semantic roles & 50–950 ramp

primary
#A2B232
secondary
#847BC5
accent
#48DF5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B232

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

Preview Lab → · Contrast checker → · Palette generator →

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