#A1B319#A1B319

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

Color values

HEX#A1B319
RGBrgb(161, 179, 25)
HSLhsl(67, 75%, 40%)
HSVhsv(67, 86%, 70%)
CMYKcmyk(10.1%, 0%, 86%, 29.8%)
CIE-LABlab(69.39, -23.91, 67.16)
CIE-LCHlch(69.39, 71.28, 109.59°)
OKLaboklab(72.8% -0.0732 0.1444)
OKLCHoklch(72.8% 0.162 116.9)
XYZxyz(30.9944, 39.8879, 6.9859)
Luminance0.3989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B319 #2B19B3
analogous
#B37819 #A1B319 #54B319
triadic
#A1B319 #19A1B3 #B319A1
tetradic
#A1B319 #19B378 #2B19B3 #B31954
square
#A1B319 #19B378 #2B19B3 #B31954
split-complementary
#A1B319 #1954B3 #7819B3
monochromatic
#40480A #717D12 #A1B319 #CBE128 #D8E85E

Accessibility & contrast

On white

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

On black

8.98
#A1B319 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B319
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B319#FFFFFF#000000##000000
##A1B3191.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1b319;
/* rgb */ color: rgb(161, 179, 25);
/* oklch */ color: oklch(72.8% 0.162 116.9);
Tailwind
colors: {
  custom: {
    50: '#c1c968',
    500: '#a1b319',
    950: '#000000',
  },
}
SCSS
$custom: #a1b319;
$custom-light: #c1c968;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b319",
  "rgb": {
    "r": 161,
    "g": 179,
    "b": 25
  },
  "hsl": {
    "h": 67.013,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.72797,
    "c": 0.16192,
    "h": 116.9
  },
  "luminance": 0.39887
}

Semantic roles & 50–950 ramp

primary
#A1B319
secondary
#695BCC
accent
#36F24C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A1B319

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

Preview Lab → · Contrast checker → · Palette generator →

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