#A1A82B#A1A82B

#A1A82B is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.142 H 112.8°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#A1A82B
RGBrgb(161, 168, 43)
HSLhsl(63, 59%, 41%)
HSVhsv(63, 74%, 66%)
CMYKcmyk(4.2%, 0%, 74.4%, 34.1%)
CIE-LABlab(66.33, -17.75, 59.42)
CIE-LCHlch(66.33, 62.02, 106.63°)
OKLaboklab(70.37% -0.0549 0.131)
OKLCHoklch(70.37% 0.142 112.8)
XYZxyz(29.1375, 35.7574, 7.6520)
Luminance0.3576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A82B #322BA8
analogous
#A8712B #A1A82B #63A82B
triadic
#A1A82B #2BA1A8 #A82BA1
tetradic
#A1A82B #2BA871 #322BA8 #A82B63
square
#A1A82B #2BA871 #322BA8 #A82B63
split-complementary
#A1A82B #2B63A8 #712BA8
monochromatic
#444712 #72771F #A1A82B #C7CF42 #D5DB72

Accessibility & contrast

On white

2.58
#A1A82B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#A1A82B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A82B
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A82B#FFFFFF#000000##000000
##A1A82B1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A010
Deuteranopia (green-blind)
#B5A335
Tritanopia (blue-blind)
#AC9E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a1a82b;
/* rgb */ color: rgb(161, 168, 43);
/* oklch */ color: oklch(70.4% 0.142 112.8);
Tailwind
colors: {
  custom: {
    50: '#c0c16e',
    500: '#a1a82b',
    950: '#000000',
  },
}
SCSS
$custom: #a1a82b;
$custom-light: #c0c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a82b",
  "rgb": {
    "r": 161,
    "g": 168,
    "b": 43
  },
  "hsl": {
    "h": 63.36,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70369,
    "c": 0.14202,
    "h": 112.8
  },
  "luminance": 0.35757
}

Semantic roles & 50–950 ramp

primary
#A1A82B
secondary
#716CC2
accent
#45E24E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A1A82B

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

Preview Lab → · Contrast checker → · Palette generator →

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