#A1B415#A1B415

#A1B415 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.0% C 0.164 H 117.2°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#A1B415
RGBrgb(161, 180, 21)
HSLhsl(67, 79%, 39%)
HSVhsv(67, 88%, 71%)
CMYKcmyk(10.6%, 0%, 88.3%, 29.4%)
CIE-LABlab(69.66, -24.49, 68.19)
CIE-LCHlch(69.66, 72.45, 109.76°)
OKLaboklab(73.01% -0.075 0.1461)
OKLCHoklch(73.01% 0.164 117.2)
XYZxyz(31.1554, 40.2741, 6.8418)
Luminance0.4027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B415 #2815B4
analogous
#B47815 #A1B415 #52B415
triadic
#A1B415 #15A1B4 #B415A1
tetradic
#A1B415 #15B478 #2815B4 #B41552
square
#A1B415 #15B478 #2815B4 #B41552
split-complementary
#A1B415 #1552B4 #7815B4
monochromatic
#3F4608 #707D0F #A1B415 #CEE521 #DAEC58

Accessibility & contrast

On white

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

On black

9.05
#A1B415 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B415
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B415#FFFFFF#000000##000000
##A1B4151.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BFAB29
Tritanopia (blue-blind)
#ACA999
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a1b415;
/* rgb */ color: rgb(161, 180, 21);
/* oklch */ color: oklch(73.0% 0.164 117.2);
Tailwind
colors: {
  custom: {
    50: '#c1ca67',
    500: '#a1b415',
    950: '#000000',
  },
}
SCSS
$custom: #a1b415;
$custom-light: #c1ca67;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b415",
  "rgb": {
    "r": 161,
    "g": 180,
    "b": 21
  },
  "hsl": {
    "h": 67.17,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.73014,
    "c": 0.16421,
    "h": 117.2
  },
  "luminance": 0.40274
}

Semantic roles & 50–950 ramp

primary
#A1B415
secondary
#6556CF
accent
#32F64A
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #A1B415

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

Preview Lab → · Contrast checker → · Palette generator →

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