#A1B82D#A1B82D

#A1B82D is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.0% C 0.159 H 118.8°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#A1B82D
RGBrgb(161, 184, 45)
HSLhsl(70, 61%, 45%)
HSVhsv(70, 76%, 72%)
CMYKcmyk(12.5%, 0%, 75.5%, 27.8%)
CIE-LABlab(70.90, -25.62, 63.05)
CIE-LCHlch(70.90, 68.06, 112.11°)
OKLaboklab(74.04% -0.0766 0.139)
OKLCHoklch(74.04% 0.159 118.8)
XYZxyz(32.3128, 42.0477, 8.8959)
Luminance0.4205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B82D #442DB8
analogous
#B88A2D #A1B82D #5CB82D
triadic
#A1B82D #2DA1B8 #B82DA1
tetradic
#A1B82D #2DB88A #442DB8 #B82D5C
square
#A1B82D #2DB88A #442DB8 #B82D5C
split-complementary
#A1B82D #2D5CB8 #8A2DB8
monochromatic
#4B5615 #768721 #A1B82D #BED44E #D0E080

Accessibility & contrast

On white

2.23
#A1B82D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#A1B82D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B82D
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B82D#FFFFFF#000000##000000
##A1B82D1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD0A
Deuteranopia (green-blind)
#C2AE3A
Tritanopia (blue-blind)
#ABAE9E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a1b82d;
/* rgb */ color: rgb(161, 184, 45);
/* oklch */ color: oklch(74.0% 0.159 118.8);
Tailwind
colors: {
  custom: {
    50: '#c0cd71',
    500: '#a1b82d',
    950: '#000000',
  },
}
SCSS
$custom: #a1b82d;
$custom-light: #c0cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b82d",
  "rgb": {
    "r": 161,
    "g": 184,
    "b": 45
  },
  "hsl": {
    "h": 69.928,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74042,
    "c": 0.15867,
    "h": 118.8
  },
  "luminance": 0.42048
}

Semantic roles & 50–950 ramp

primary
#A1B82D
secondary
#8678C9
accent
#44E45E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B82D

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

Preview Lab → · Contrast checker → · Palette generator →

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