#A1B131#A1B131

#A1B131 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.5% C 0.148 H 116.5°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#A1B131
RGBrgb(161, 177, 49)
HSLhsl(68, 57%, 44%)
HSVhsv(68, 72%, 69%)
CMYKcmyk(9%, 0%, 72.3%, 30.6%)
CIE-LABlab(68.93, -21.98, 59.80)
CIE-LCHlch(68.93, 63.71, 110.19°)
OKLaboklab(72.46% -0.0662 0.1328)
OKLCHoklch(72.46% 0.148 116.5)
XYZxyz(30.9752, 39.2435, 8.8481)
Luminance0.3924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B131 #4131B1
analogous
#B18131 #A1B131 #61B131
triadic
#A1B131 #31A1B1 #B131A1
tetradic
#A1B131 #31B181 #4131B1 #B13161
square
#A1B131 #31B181 #4131B1 #B13161
split-complementary
#A1B131 #3161B1 #8131B1
monochromatic
#4A5116 #758124 #A1B131 #BFCF51 #D1DC80

Accessibility & contrast

On white

2.37
#A1B131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#A1B131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B131
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B131#FFFFFF#000000##000000
##A1B1311.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA819
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#ABA798
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a1b131;
/* rgb */ color: rgb(161, 177, 49);
/* oklch */ color: oklch(72.5% 0.148 116.5);
Tailwind
colors: {
  custom: {
    50: '#c0c872',
    500: '#a1b131',
    950: '#000000',
  },
}
SCSS
$custom: #a1b131;
$custom-light: #c0c872;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b131",
  "rgb": {
    "r": 161,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 67.5,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7246,
    "c": 0.14838,
    "h": 116.5
  },
  "luminance": 0.39243
}

Semantic roles & 50–950 ramp

primary
#A1B131
secondary
#8279C5
accent
#48E05B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B131

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

Preview Lab → · Contrast checker → · Palette generator →

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