#A1B41C#A1B41C

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

Color values

HEX#A1B41C
RGBrgb(161, 180, 28)
HSLhsl(68, 73%, 41%)
HSVhsv(68, 84%, 71%)
CMYKcmyk(10.6%, 0%, 84.4%, 29.4%)
CIE-LABlab(69.69, -24.31, 66.74)
CIE-LCHlch(69.69, 71.03, 110.02°)
OKLaboklab(73.04% -0.0742 0.144)
OKLCHoklch(73.04% 0.162 117.3)
XYZxyz(31.2296, 40.3038, 7.2326)
Luminance0.4030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B41C #2F1CB4
analogous
#B47B1C #A1B41C #55B41C
triadic
#A1B41C #1CA1B4 #B41CA1
tetradic
#A1B41C #1CB47B #2F1CB4 #B41C55
square
#A1B41C #1CB47B #2F1CB4 #B41C55
split-complementary
#A1B41C #1C55B4 #7B1CB4
monochromatic
#424A0C #727F14 #A1B41C #C9DF2F #D6E764

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1B41C#FFFFFF#000000##000000
##A1B41C1.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)
#BFAB2D
Tritanopia (blue-blind)
#ACA999
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a1b41c;
/* rgb */ color: rgb(161, 180, 28);
/* oklch */ color: oklch(73.0% 0.162 117.3);
Tailwind
colors: {
  custom: {
    50: '#c1ca6a',
    500: '#a1b41c',
    950: '#000000',
  },
}
SCSS
$custom: #a1b41c;
$custom-light: #c1ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b41c",
  "rgb": {
    "r": 161,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 67.5,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.73038,
    "c": 0.16195,
    "h": 117.3
  },
  "luminance": 0.40303
}

Semantic roles & 50–950 ramp

primary
#A1B41C
secondary
#6E60CC
accent
#38F04F
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A1B41C

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

Preview Lab → · Contrast checker → · Palette generator →

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