#A1B52E#A1B52E

#A1B52E is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.4% C 0.155 H 117.9°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#A1B52E
RGBrgb(161, 181, 46)
HSLhsl(69, 59%, 45%)
HSVhsv(69, 75%, 71%)
CMYKcmyk(11%, 0%, 74.6%, 29%)
CIE-LABlab(70.05, -24.11, 61.92)
CIE-LCHlch(70.05, 66.44, 111.27°)
OKLaboklab(73.36% -0.0723 0.1368)
OKLCHoklch(73.36% 0.155 117.9)
XYZxyz(31.7157, 40.8224, 8.7930)
Luminance0.4082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B52E #422EB5
analogous
#B5862E #A1B52E #5EB52E
triadic
#A1B52E #2EA1B5 #B52EA1
tetradic
#A1B52E #2EB586 #422EB5 #B52E5E
square
#A1B52E #2EB586 #422EB5 #B52E5E
split-complementary
#A1B52E #2E5EB5 #862EB5
monochromatic
#4A5315 #768422 #A1B52E #BFD24E #D0DE7F

Accessibility & contrast

On white

2.29
#A1B52E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#A1B52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B52E
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B52E#FFFFFF#000000##000000
##A1B52E1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB10
Deuteranopia (green-blind)
#BFAC3A
Tritanopia (blue-blind)
#ABAB9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a1b52e;
/* rgb */ color: rgb(161, 181, 46);
/* oklch */ color: oklch(73.4% 0.155 117.9);
Tailwind
colors: {
  custom: {
    50: '#c0cb71',
    500: '#a1b52e',
    950: '#000000',
  },
}
SCSS
$custom: #a1b52e;
$custom-light: #c0cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b52e",
  "rgb": {
    "r": 161,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 68.889,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73358,
    "c": 0.1547,
    "h": 117.9
  },
  "luminance": 0.40822
}

Semantic roles & 50–950 ramp

primary
#A1B52E
secondary
#8378C7
accent
#45E35C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B52E

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

Preview Lab → · Contrast checker → · Palette generator →

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