#A2B41A#A2B41A

#A2B41A is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.1% C 0.162 H 116.9°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#A2B41A
RGBrgb(162, 180, 26)
HSLhsl(67, 75%, 40%)
HSVhsv(67, 86%, 71%)
CMYKcmyk(10%, 0%, 85.6%, 29.4%)
CIE-LABlab(69.75, -23.94, 67.27)
CIE-LCHlch(69.75, 71.41, 109.59°)
OKLaboklab(73.11% -0.0733 0.1448)
OKLCHoklch(73.11% 0.162 116.9)
XYZxyz(31.4089, 40.3989, 7.1202)
Luminance0.4040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B41A #2C1AB4
analogous
#B4791A #A2B41A #55B41A
triadic
#A2B41A #1AA2B4 #B41AA2
tetradic
#A2B41A #1AB479 #2C1AB4 #B41A55
square
#A2B41A #1AB479 #2C1AB4 #B41A55
split-complementary
#A2B41A #1A55B4 #791AB4
monochromatic
#42490B #727F12 #A2B41A #CBE02B #D8E860

Accessibility & contrast

On white

2.31
#A2B41A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#A2B41A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B41A
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B41A#FFFFFF#000000##000000
##A2B41A1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BFAB2C
Tritanopia (blue-blind)
#ADA999
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b41a;
/* rgb */ color: rgb(162, 180, 26);
/* oklch */ color: oklch(73.1% 0.162 116.9);
Tailwind
colors: {
  custom: {
    50: '#c2ca69',
    500: '#a2b41a',
    950: '#000000',
  },
}
SCSS
$custom: #a2b41a;
$custom-light: #c2ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b41a",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 26
  },
  "hsl": {
    "h": 67.013,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.73109,
    "c": 0.16228,
    "h": 116.9
  },
  "luminance": 0.40398
}

Semantic roles & 50–950 ramp

primary
#A2B41A
secondary
#6A5DCC
accent
#36F14C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A2B41A

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

Preview Lab → · Contrast checker → · Palette generator →

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