#A1B121#A1B121

#A1B121 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.4% C 0.157 H 116.3°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#A1B121
RGBrgb(161, 177, 33)
HSLhsl(67, 69%, 41%)
HSVhsv(67, 81%, 69%)
CMYKcmyk(9%, 0%, 81.4%, 30.6%)
CIE-LABlab(68.85, -22.67, 64.76)
CIE-LCHlch(68.85, 68.62, 109.30°)
OKLaboklab(72.37% -0.0694 0.1406)
OKLCHoklch(72.37% 0.157 116.3)
XYZxyz(30.6955, 39.1316, 7.3747)
Luminance0.3913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B121 #3121B1
analogous
#B17921 #A1B121 #59B121
triadic
#A1B121 #21A1B1 #B121A1
tetradic
#A1B121 #21B179 #3121B1 #B12159
square
#A1B121 #21B179 #3121B1 #B12159
split-complementary
#A1B121 #2159B1 #7921B1
monochromatic
#434A0E #727D17 #A1B121 #C7D936 #D6E369

Accessibility & contrast

On white

2.38
#A1B121 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#A1B121 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B121
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B121#FFFFFF#000000##000000
##A1B1211.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BCA930
Tritanopia (blue-blind)
#ACA697
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a1b121;
/* rgb */ color: rgb(161, 177, 33);
/* oklch */ color: oklch(72.4% 0.157 116.3);
Tailwind
colors: {
  custom: {
    50: '#c1c86b',
    500: '#a1b121',
    950: '#000000',
  },
}
SCSS
$custom: #a1b121;
$custom-light: #c1c86b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b121",
  "rgb": {
    "r": 161,
    "g": 177,
    "b": 33
  },
  "hsl": {
    "h": 66.667,
    "s": 68.571,
    "l": 41.176
  },
  "oklch": {
    "l": 0.72369,
    "c": 0.15673,
    "h": 116.3
  },
  "luminance": 0.39131
}

Semantic roles & 50–950 ramp

primary
#A1B121
secondary
#7065C9
accent
#3CEB50
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A1B121

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

Preview Lab → · Contrast checker → · Palette generator →

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