#A1B331#A1B331

#A1B331 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 72.9% C 0.151 H 117.2°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#A1B331
RGBrgb(161, 179, 49)
HSLhsl(68, 57%, 45%)
HSVhsv(68, 73%, 70%)
CMYKcmyk(10.1%, 0%, 72.6%, 29.8%)
CIE-LABlab(69.50, -22.97, 60.35)
CIE-LCHlch(69.50, 64.58, 110.84°)
OKLaboklab(72.92% -0.0689 0.134)
OKLCHoklch(72.92% 0.151 117.2)
XYZxyz(31.3732, 40.0394, 8.9808)
Luminance0.4004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B331 #4331B3
analogous
#B38431 #A1B331 #60B331
triadic
#A1B331 #31A1B3 #B331A1
tetradic
#A1B331 #31B384 #4331B3 #B33160
square
#A1B331 #31B384 #4331B3 #B33160
split-complementary
#A1B331 #3160B3 #8431B3
monochromatic
#4B5317 #768324 #A1B331 #BED052 #D0DD82

Accessibility & contrast

On white

2.33
#A1B331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#A1B331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B331
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B331#FFFFFF#000000##000000
##A1B3311.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA918
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#ABA99A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a1b331;
/* rgb */ color: rgb(161, 179, 49);
/* oklch */ color: oklch(72.9% 0.151 117.2);
Tailwind
colors: {
  custom: {
    50: '#c0c972',
    500: '#a1b331',
    950: '#000000',
  },
}
SCSS
$custom: #a1b331;
$custom-light: #c0c972;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b331",
  "rgb": {
    "r": 161,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 68.308,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72918,
    "c": 0.15065,
    "h": 117.2
  },
  "luminance": 0.40039
}

Semantic roles & 50–950 ramp

primary
#A1B331
secondary
#847AC6
accent
#48E05D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B331

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

Preview Lab → · Contrast checker → · Palette generator →

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