#A1B341#A1B341

#A1B341 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.0% C 0.139 H 117.6°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#A1B341
RGBrgb(161, 179, 65)
HSLhsl(69, 47%, 48%)
HSVhsv(69, 64%, 70%)
CMYKcmyk(10.1%, 0%, 63.7%, 29.8%)
CIE-LABlab(69.61, -22.00, 54.22)
CIE-LCHlch(69.61, 58.51, 112.09°)
OKLaboklab(73.05% -0.0647 0.1236)
OKLCHoklch(73.05% 0.139 117.6)
XYZxyz(31.7728, 40.1992, 11.0854)
Luminance0.4020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B341 #5341B3
analogous
#B38C41 #A1B341 #68B341
triadic
#A1B341 #41A1B3 #B341A1
tetradic
#A1B341 #41B38C #5341B3 #B34168
square
#A1B341 #41B38C #5341B3 #B34168
split-complementary
#A1B341 #4168B3 #8C41B3
monochromatic
#505920 #798631 #A1B341 #B9C869 #CED996

Accessibility & contrast

On white

2.32
#A1B341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#A1B341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B341
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B341#FFFFFF#000000##000000
##A1B3411.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA33
Deuteranopia (green-blind)
#BDAB49
Tritanopia (blue-blind)
#AAAA9B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a1b341;
/* rgb */ color: rgb(161, 179, 65);
/* oklch */ color: oklch(73.0% 0.139 117.6);
Tailwind
colors: {
  custom: {
    50: '#bfc97b',
    500: '#a1b341',
    950: '#000000',
  },
}
SCSS
$custom: #a1b341;
$custom-light: #bfc97b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b341",
  "rgb": {
    "r": 161,
    "g": 179,
    "b": 65
  },
  "hsl": {
    "h": 69.474,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73046,
    "c": 0.13946,
    "h": 117.6
  },
  "luminance": 0.40199
}

Semantic roles & 50–950 ramp

primary
#A1B341
secondary
#948BC4
accent
#51D666
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A1B341

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

Preview Lab → · Contrast checker → · Palette generator →

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