#A1AB37#A1AB37

#A1AB37 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.1% C 0.138 H 114.1°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#A1AB37
RGBrgb(161, 171, 55)
HSLhsl(65, 51%, 44%)
HSVhsv(65, 68%, 67%)
CMYKcmyk(5.8%, 0%, 67.8%, 32.9%)
CIE-LABlab(67.26, -18.64, 55.88)
CIE-LCHlch(67.26, 58.90, 108.45°)
OKLaboklab(71.14% -0.0563 0.1256)
OKLCHoklch(71.14% 0.138 114.1)
XYZxyz(29.9512, 36.9793, 9.1736)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AB37 #4137AB
analogous
#AB7B37 #A1AB37 #67AB37
triadic
#A1AB37 #37A1AB #AB37A1
tetradic
#A1AB37 #37AB7B #4137AB #AB3767
square
#A1AB37 #37AB7B #4137AB #AB3767
split-complementary
#A1AB37 #3767AB #7B37AB
monochromatic
#4A4E19 #757D28 #A1AB37 #BFC956 #D1D885

Accessibility & contrast

On white

2.50
#A1AB37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#A1AB37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AB37
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AB37#FFFFFF#000000##000000
##A1AB371.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A326
Deuteranopia (green-blind)
#B7A53F
Tritanopia (blue-blind)
#ABA194
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a1ab37;
/* rgb */ color: rgb(161, 171, 55);
/* oklch */ color: oklch(71.1% 0.138 114.1);
Tailwind
colors: {
  custom: {
    50: '#c0c375',
    500: '#a1ab37',
    950: '#000000',
  },
}
SCSS
$custom: #a1ab37;
$custom-light: #c0c375;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ab37",
  "rgb": {
    "r": 161,
    "g": 171,
    "b": 55
  },
  "hsl": {
    "h": 65.172,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71136,
    "c": 0.13758,
    "h": 114.1
  },
  "luminance": 0.36979
}

Semantic roles & 50–950 ramp

primary
#A1AB37
secondary
#827CC1
accent
#4DDB59
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A1AB37

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

Preview Lab → · Contrast checker → · Palette generator →

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