#A1B348#A1B348

#A1B348 is a light, vivid yellow-green. Relative luminance 0.403; OKLCH L 73.1% C 0.134 H 117.9°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#A1B348
RGBrgb(161, 179, 72)
HSLhsl(70, 43%, 49%)
HSVhsv(70, 60%, 70%)
CMYKcmyk(10.1%, 0%, 59.8%, 29.8%)
CIE-LABlab(69.67, -21.48, 51.24)
CIE-LCHlch(69.67, 55.56, 112.75°)
OKLaboklab(73.11% -0.0625 0.1182)
OKLCHoklch(73.11% 0.134 117.9)
XYZxyz(31.9883, 40.2854, 12.2203)
Luminance0.4028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B348 #5A48B3
analogous
#B38F48 #A1B348 #6CB348
triadic
#A1B348 #48A1B3 #B348A1
tetradic
#A1B348 #48B38F #5A48B3 #B3486C
square
#A1B348 #48B38F #5A48B3 #B3486C
split-complementary
#A1B348 #486CB3 #8F48B3
monochromatic
#525C25 #7A8736 #A1B348 #B8C672 #CED89E

Accessibility & contrast

On white

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

On black

9.06
#A1B348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B348
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B348#FFFFFF#000000##000000
##A1B3481.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3C
Deuteranopia (green-blind)
#BCAB4F
Tritanopia (blue-blind)
#AAAA9C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a1b348;
/* rgb */ color: rgb(161, 179, 72);
/* oklch */ color: oklch(73.1% 0.134 117.9);
Tailwind
colors: {
  custom: {
    50: '#bfc97f',
    500: '#a1b348',
    950: '#000000',
  },
}
SCSS
$custom: #a1b348;
$custom-light: #bfc97f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b348",
  "rgb": {
    "r": 161,
    "g": 179,
    "b": 72
  },
  "hsl": {
    "h": 70.093,
    "s": 42.629,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73114,
    "c": 0.13369,
    "h": 117.9
  },
  "luminance": 0.40285
}

Semantic roles & 50–950 ramp

primary
#A1B348
secondary
#9B92C4
accent
#55D26A
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #A1B348

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

Preview Lab → · Contrast checker → · Palette generator →

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