#A1B327#A1B327

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

Color values

HEX#A1B327
RGBrgb(161, 179, 39)
HSLhsl(68, 64%, 43%)
HSVhsv(68, 78%, 70%)
CMYKcmyk(10.1%, 0%, 78.2%, 29.8%)
CIE-LABlab(69.44, -23.44, 63.58)
CIE-LCHlch(69.44, 67.77, 110.23°)
OKLaboklab(72.86% -0.071 0.1391)
OKLCHoklch(72.86% 0.156 117.1)
XYZxyz(31.1851, 39.9641, 7.9901)
Luminance0.3996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B327 #3927B3
analogous
#B37F27 #A1B327 #5BB327
triadic
#A1B327 #27A1B3 #B327A1
tetradic
#A1B327 #27B37F #3927B3 #B3275B
square
#A1B327 #27B37F #3927B3 #B3275B
split-complementary
#A1B327 #275BB3 #7F27B3
monochromatic
#474E11 #74811C #A1B327 #C3D641 #D3E174

Accessibility & contrast

On white

2.34
#A1B327 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#A1B327 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B327
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B327#FFFFFF#000000##000000
##A1B3271.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAA34
Tritanopia (blue-blind)
#ABA999
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a1b327;
/* rgb */ color: rgb(161, 179, 39);
/* oklch */ color: oklch(72.9% 0.156 117.1);
Tailwind
colors: {
  custom: {
    50: '#c0c96e',
    500: '#a1b327',
    950: '#000000',
  },
}
SCSS
$custom: #a1b327;
$custom-light: #c0c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b327",
  "rgb": {
    "r": 161,
    "g": 179,
    "b": 39
  },
  "hsl": {
    "h": 67.714,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72858,
    "c": 0.15616,
    "h": 117.1
  },
  "luminance": 0.39964
}

Semantic roles & 50–950 ramp

primary
#A1B327
secondary
#796EC8
accent
#41E756
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B327

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

Preview Lab → · Contrast checker → · Palette generator →

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