#A1B048#A1B048

#A1B048 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.4% C 0.130 H 116.6°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#A1B048
RGBrgb(161, 176, 72)
HSLhsl(69, 42%, 49%)
HSVhsv(69, 59%, 69%)
CMYKcmyk(8.5%, 0%, 59.1%, 31%)
CIE-LABlab(68.82, -19.98, 50.29)
CIE-LCHlch(68.82, 54.12, 111.67°)
OKLaboklab(72.43% -0.0583 0.1162)
OKLCHoklch(72.43% 0.13 116.6)
XYZxyz(31.3935, 39.0960, 12.0221)
Luminance0.3910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B048 #5748B0
analogous
#B08B48 #A1B048 #6DB048
triadic
#A1B048 #48A1B0 #B048A1
tetradic
#A1B048 #48B08B #5748B0 #B0486D
square
#A1B048 #48B08B #5748B0 #B0486D
split-complementary
#A1B048 #486DB0 #8B48B0
monochromatic
#525924 #798536 #A1B048 #B9C570 #CED69C

Accessibility & contrast

On white

2.38
#A1B048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#A1B048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B048
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B048#FFFFFF#000000##000000
##A1B0481.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA73C
Deuteranopia (green-blind)
#BAA94F
Tritanopia (blue-blind)
#AAA79A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a1b048;
/* rgb */ color: rgb(161, 176, 72);
/* oklch */ color: oklch(72.4% 0.130 116.6);
Tailwind
colors: {
  custom: {
    50: '#bfc77f',
    500: '#a1b048',
    950: '#000000',
  },
}
SCSS
$custom: #a1b048;
$custom-light: #bfc77f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b048",
  "rgb": {
    "r": 161,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 68.654,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72431,
    "c": 0.12997,
    "h": 116.6
  },
  "luminance": 0.39096
}

Semantic roles & 50–950 ramp

primary
#A1B048
secondary
#9891C3
accent
#56D268
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #A1B048

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

Preview Lab → · Contrast checker → · Palette generator →

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