#A2B22E#A2B22E

#A2B22E is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.7% C 0.151 H 116.4°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#A2B22E
RGBrgb(162, 178, 46)
HSLhsl(67, 59%, 44%)
HSVhsv(67, 74%, 70%)
CMYKcmyk(9%, 0%, 74.2%, 30.2%)
CIE-LABlab(69.27, -22.21, 61.20)
CIE-LCHlch(69.27, 65.11, 109.94°)
OKLaboklab(72.75% -0.0671 0.1352)
OKLCHoklch(72.75% 0.151 116.4)
XYZxyz(31.3146, 39.7199, 8.6013)
Luminance0.3972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B22E #3E2EB2
analogous
#B2802E #A2B22E #60B22E
triadic
#A2B22E #2EA2B2 #B22EA2
tetradic
#A2B22E #2EB280 #3E2EB2 #B22E60
square
#A2B22E #2EB280 #3E2EB2 #B22E60
split-complementary
#A2B22E #2E60B2 #802EB2
monochromatic
#495115 #768121 #A2B22E #C1D14C #D2DD7D

Accessibility & contrast

On white

2.35
#A2B22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#A2B22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B22E
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B22E#FFFFFF#000000##000000
##A2B22E1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA812
Deuteranopia (green-blind)
#BDAA39
Tritanopia (blue-blind)
#ACA899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b22e;
/* rgb */ color: rgb(162, 178, 46);
/* oklch */ color: oklch(72.7% 0.151 116.4);
Tailwind
colors: {
  custom: {
    50: '#c1c871',
    500: '#a2b22e',
    950: '#000000',
  },
}
SCSS
$custom: #a2b22e;
$custom-light: #c1c871;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b22e",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 46
  },
  "hsl": {
    "h": 67.273,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72748,
    "c": 0.15095,
    "h": 116.4
  },
  "luminance": 0.39719
}

Semantic roles & 50–950 ramp

primary
#A2B22E
secondary
#8076C6
accent
#46E259
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B22E

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

Preview Lab → · Contrast checker → · Palette generator →

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