#A2B42E#A2B42E

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

Color values

HEX#A2B42E
RGBrgb(162, 180, 46)
HSLhsl(68, 59%, 44%)
HSVhsv(68, 74%, 71%)
CMYKcmyk(10%, 0%, 74.4%, 29.4%)
CIE-LABlab(69.84, -23.20, 61.74)
CIE-LCHlch(69.84, 65.95, 110.59°)
OKLaboklab(73.21% -0.0698 0.1364)
OKLCHoklch(73.21% 0.153 117.1)
XYZxyz(31.7155, 40.5215, 8.7349)
Luminance0.4052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B42E #402EB4
analogous
#B4832E #A2B42E #5FB42E
triadic
#A2B42E #2EA2B4 #B42EA2
tetradic
#A2B42E #2EB483 #402EB4 #B42E5F
square
#A2B42E #2EB483 #402EB4 #B42E5F
split-complementary
#A2B42E #2E5FB4 #832EB4
monochromatic
#4A5315 #768322 #A2B42E #C0D24E #D1DE7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B42E#FFFFFF#000000##000000
##A2B42E1.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)
#C0AA10
Deuteranopia (green-blind)
#BFAB3A
Tritanopia (blue-blind)
#ACAA9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b42e;
/* rgb */ color: rgb(162, 180, 46);
/* oklch */ color: oklch(73.2% 0.153 117.1);
Tailwind
colors: {
  custom: {
    50: '#c1ca71',
    500: '#a2b42e',
    950: '#000000',
  },
}
SCSS
$custom: #a2b42e;
$custom-light: #c1ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b42e",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 68.06,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73206,
    "c": 0.1532,
    "h": 117.1
  },
  "luminance": 0.40521
}

Semantic roles & 50–950 ramp

primary
#A2B42E
secondary
#8277C7
accent
#45E25A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B42E

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

Preview Lab → · Contrast checker → · Palette generator →

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