#A1B142#A1B142

#A1B142 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.6% C 0.136 H 116.9°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#A1B142
RGBrgb(161, 177, 66)
HSLhsl(69, 46%, 48%)
HSVhsv(69, 63%, 69%)
CMYKcmyk(9%, 0%, 62.7%, 30.6%)
CIE-LABlab(69.05, -20.94, 53.19)
CIE-LCHlch(69.05, 57.16, 111.48°)
OKLaboklab(72.6% -0.0616 0.1215)
OKLCHoklch(72.6% 0.136 116.9)
XYZxyz(31.4041, 39.4151, 11.1067)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B142 #5242B1
analogous
#B18A42 #A1B142 #69B142
triadic
#A1B142 #42A1B1 #B142A1
tetradic
#A1B142 #42B18A #5242B1 #B14269
square
#A1B142 #42B18A #5242B1 #B14269
split-complementary
#A1B142 #4269B1 #8A42B1
monochromatic
#505821 #788431 #A1B142 #BAC769 #CED896

Accessibility & contrast

On white

2.36
#A1B142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#A1B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B142
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B142#FFFFFF#000000##000000
##A1B1421.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA834
Deuteranopia (green-blind)
#BBA949
Tritanopia (blue-blind)
#AAA89A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a1b142;
/* rgb */ color: rgb(161, 177, 66);
/* oklch */ color: oklch(72.6% 0.136 116.9);
Tailwind
colors: {
  custom: {
    50: '#bfc87b',
    500: '#a1b142',
    950: '#000000',
  },
}
SCSS
$custom: #a1b142;
$custom-light: #bfc87b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b142",
  "rgb": {
    "r": 161,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 68.649,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72599,
    "c": 0.13624,
    "h": 116.9
  },
  "luminance": 0.39415
}

Semantic roles & 50–950 ramp

primary
#A1B142
secondary
#938BC3
accent
#52D565
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #A1B142

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

Preview Lab → · Contrast checker → · Palette generator →

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