#A1B232#A1B232

#A1B232 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.7% C 0.149 H 116.9°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#A1B232
RGBrgb(161, 178, 50)
HSLhsl(68, 56%, 45%)
HSVhsv(68, 72%, 70%)
CMYKcmyk(9.6%, 0%, 71.9%, 30.2%)
CIE-LABlab(69.22, -22.43, 59.72)
CIE-LCHlch(69.22, 63.79, 110.58°)
OKLaboklab(72.7% -0.0673 0.1328)
OKLCHoklch(72.7% 0.149 116.9)
XYZxyz(31.1948, 39.6485, 9.0266)
Luminance0.3965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B232 #4332B2
analogous
#B28332 #A1B232 #61B232
triadic
#A1B232 #32A1B2 #B232A1
tetradic
#A1B232 #32B283 #4332B2 #B23261
square
#A1B232 #32B283 #4332B2 #B23261
split-complementary
#A1B232 #3261B2 #8332B2
monochromatic
#4B5217 #768225 #A1B232 #BECF53 #D0DC82

Accessibility & contrast

On white

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

On black

8.93
#A1B232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B232
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B232#FFFFFF#000000##000000
##A1B2321.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1b232;
/* rgb */ color: rgb(161, 178, 50);
/* oklch */ color: oklch(72.7% 0.149 116.9);
Tailwind
colors: {
  custom: {
    50: '#c0c873',
    500: '#a1b232',
    950: '#000000',
  },
}
SCSS
$custom: #a1b232;
$custom-light: #c0c873;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b232",
  "rgb": {
    "r": 161,
    "g": 178,
    "b": 50
  },
  "hsl": {
    "h": 67.969,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72696,
    "c": 0.14889,
    "h": 116.9
  },
  "luminance": 0.39648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A1B232

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

Preview Lab → · Contrast checker → · Palette generator →

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