#A1B62A#A1B62A

#A1B62A is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.6% C 0.158 H 118.1°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#A1B62A
RGBrgb(161, 182, 42)
HSLhsl(69, 63%, 44%)
HSVhsv(69, 77%, 71%)
CMYKcmyk(11.5%, 0%, 76.9%, 28.6%)
CIE-LABlab(70.32, -24.78, 63.46)
CIE-LCHlch(70.32, 68.13, 111.33°)
OKLaboklab(73.56% -0.0745 0.1393)
OKLCHoklch(73.56% 0.158 118.1)
XYZxyz(31.8446, 41.2004, 8.4649)
Luminance0.4120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B62A #3F2AB6
analogous
#B6852A #A1B62A #5BB62A
triadic
#A1B62A #2AA1B6 #B62AA1
tetradic
#A1B62A #2AB685 #3F2AB6 #B62A5B
square
#A1B62A #2AB685 #3F2AB6 #B62A5B
split-complementary
#A1B62A #2A5BB6 #852AB6
monochromatic
#495313 #75841F #A1B62A #C0D548 #D1E07A

Accessibility & contrast

On white

2.27
#A1B62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#A1B62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B62A
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B62A#FFFFFF#000000##000000
##A1B62A1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC02
Deuteranopia (green-blind)
#C0AD37
Tritanopia (blue-blind)
#ABAC9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a1b62a;
/* rgb */ color: rgb(161, 182, 42);
/* oklch */ color: oklch(73.6% 0.158 118.1);
Tailwind
colors: {
  custom: {
    50: '#c0cb6f',
    500: '#a1b62a',
    950: '#000000',
  },
}
SCSS
$custom: #a1b62a;
$custom-light: #c0cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b62a",
  "rgb": {
    "r": 161,
    "g": 182,
    "b": 42
  },
  "hsl": {
    "h": 69,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73564,
    "c": 0.158,
    "h": 118.1
  },
  "luminance": 0.412
}

Semantic roles & 50–950 ramp

primary
#A1B62A
secondary
#8073C8
accent
#42E65B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B62A

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

Preview Lab → · Contrast checker → · Palette generator →

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