#A2B42A#A2B42A

#A2B42A is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.2% C 0.155 H 117.1°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#A2B42A
RGBrgb(162, 180, 42)
HSLhsl(68, 62%, 44%)
HSVhsv(68, 77%, 71%)
CMYKcmyk(10%, 0%, 76.7%, 29.4%)
CIE-LABlab(69.82, -23.38, 63.03)
CIE-LCHlch(69.82, 67.22, 110.35°)
OKLaboklab(73.18% -0.0707 0.1384)
OKLCHoklch(73.18% 0.155 117.1)
XYZxyz(31.6403, 40.4915, 8.3389)
Luminance0.4049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B42A #3C2AB4
analogous
#B4812A #A2B42A #5DB42A
triadic
#A2B42A #2AA2B4 #B42AA2
tetradic
#A2B42A #2AB481 #3C2AB4 #B42A5D
square
#A2B42A #2AB481 #3C2AB4 #B42A5D
split-complementary
#A2B42A #2A5DB4 #812AB4
monochromatic
#495113 #75821E #A2B42A #C2D447 #D2E079

Accessibility & contrast

On white

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

On black

9.10
#A2B42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B42A
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B42A#FFFFFF#000000##000000
##A2B42A1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA03
Deuteranopia (green-blind)
#BFAB37
Tritanopia (blue-blind)
#ACAA9A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b42a;
/* rgb */ color: rgb(162, 180, 42);
/* oklch */ color: oklch(73.2% 0.155 117.1);
Tailwind
colors: {
  custom: {
    50: '#c1ca6f',
    500: '#a2b42a',
    950: '#000000',
  },
}
SCSS
$custom: #a2b42a;
$custom-light: #c1ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b42a",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 67.826,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73182,
    "c": 0.15539,
    "h": 117.1
  },
  "luminance": 0.40491
}

Semantic roles & 50–950 ramp

primary
#A2B42A
secondary
#7D72C8
accent
#43E558
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B42A

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

Preview Lab → · Contrast checker → · Palette generator →

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