#A1B41F#A1B41F

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

Color values

HEX#A1B41F
RGBrgb(161, 180, 31)
HSLhsl(68, 71%, 41%)
HSVhsv(68, 83%, 71%)
CMYKcmyk(10.6%, 0%, 82.8%, 29.4%)
CIE-LABlab(69.70, -24.22, 66.02)
CIE-LCHlch(69.70, 70.32, 110.15°)
OKLaboklab(73.05% -0.0737 0.1429)
OKLCHoklch(73.05% 0.161 117.3)
XYZxyz(31.2674, 40.3189, 7.4312)
Luminance0.4032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B41F #321FB4
analogous
#B47D1F #A1B41F #57B41F
triadic
#A1B41F #1FA1B4 #B41FA1
tetradic
#A1B41F #1FB47D #321FB4 #B41F57
square
#A1B41F #1FB47D #321FB4 #B41F57
split-complementary
#A1B41F #1F57B4 #7D1FB4
monochromatic
#444C0D #728016 #A1B41F #C7DC34 #D5E568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1B41F#FFFFFF#000000##000000
##A1B41F1.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)
#C1AA00
Deuteranopia (green-blind)
#BFAB2F
Tritanopia (blue-blind)
#ACA99A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a1b41f;
/* rgb */ color: rgb(161, 180, 31);
/* oklch */ color: oklch(73.0% 0.161 117.3);
Tailwind
colors: {
  custom: {
    50: '#c1ca6b',
    500: '#a1b41f',
    950: '#000000',
  },
}
SCSS
$custom: #a1b41f;
$custom-light: #c1ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b41f",
  "rgb": {
    "r": 161,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 67.651,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.7305,
    "c": 0.16081,
    "h": 117.3
  },
  "luminance": 0.40319
}

Semantic roles & 50–950 ramp

primary
#A1B41F
secondary
#7164CB
accent
#3AED51
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A1B41F

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

Preview Lab → · Contrast checker → · Palette generator →

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