#A1B315#A1B315

#A1B315 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 72.8% C 0.163 H 116.9°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#A1B315
RGBrgb(161, 179, 21)
HSLhsl(67, 79%, 39%)
HSVhsv(67, 88%, 70%)
CMYKcmyk(10.1%, 0%, 88.3%, 29.8%)
CIE-LABlab(69.38, -24.00, 67.95)
CIE-LCHlch(69.38, 72.07, 109.46°)
OKLaboklab(72.78% -0.0737 0.1456)
OKLCHoklch(72.78% 0.163 116.9)
XYZxyz(30.9543, 39.8718, 6.7747)
Luminance0.3987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B315 #2715B3
analogous
#B37615 #A1B315 #52B315
triadic
#A1B315 #15A1B3 #B315A1
tetradic
#A1B315 #15B376 #2715B3 #B31552
square
#A1B315 #15B376 #2715B3 #B31552
split-complementary
#A1B315 #1552B3 #7615B3
monochromatic
#3E4508 #707C0F #A1B315 #CEE520 #DAEB57

Accessibility & contrast

On white

2.34
#A1B315 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#A1B315 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B315
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B315#FFFFFF#000000##000000
##A1B3151.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAA29
Tritanopia (blue-blind)
#ACA898
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a1b315;
/* rgb */ color: rgb(161, 179, 21);
/* oklch */ color: oklch(72.8% 0.163 116.9);
Tailwind
colors: {
  custom: {
    50: '#c1c967',
    500: '#a1b315',
    950: '#000000',
  },
}
SCSS
$custom: #a1b315;
$custom-light: #c1c967;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b315",
  "rgb": {
    "r": 161,
    "g": 179,
    "b": 21
  },
  "hsl": {
    "h": 66.835,
    "s": 79,
    "l": 39.216
  },
  "oklch": {
    "l": 0.72784,
    "c": 0.16315,
    "h": 116.9
  },
  "luminance": 0.39871
}

Semantic roles & 50–950 ramp

primary
#A1B315
secondary
#6356CE
accent
#32F549
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #A1B315

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

Preview Lab → · Contrast checker → · Palette generator →

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