#A2B22C#A2B22C

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

Color values

HEX#A2B22C
RGBrgb(162, 178, 44)
HSLhsl(67, 60%, 44%)
HSVhsv(67, 75%, 70%)
CMYKcmyk(9%, 0%, 75.3%, 30.2%)
CIE-LABlab(69.26, -22.30, 61.86)
CIE-LCHlch(69.26, 65.76, 109.82°)
OKLaboklab(72.74% -0.0675 0.1363)
OKLCHoklch(72.74% 0.152 116.4)
XYZxyz(31.2761, 39.7045, 8.3985)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B22C #3C2CB2
analogous
#B27F2C #A2B22C #5FB22C
triadic
#A2B22C #2CA2B2 #B22CA2
tetradic
#A2B22C #2CB27F #3C2CB2 #B22C5F
square
#A2B22C #2CB27F #3C2CB2 #B22C5F
split-complementary
#A2B22C #2C5FB2 #7F2CB2
monochromatic
#495014 #758120 #A2B22C #C2D249 #D2DE7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B22C#FFFFFF#000000##000000
##A2B22C1.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)
#BFA80C
Deuteranopia (green-blind)
#BDAA38
Tritanopia (blue-blind)
#ACA899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b22c;
/* rgb */ color: rgb(162, 178, 44);
/* oklch */ color: oklch(72.7% 0.152 116.4);
Tailwind
colors: {
  custom: {
    50: '#c1c870',
    500: '#a2b22c',
    950: '#000000',
  },
}
SCSS
$custom: #a2b22c;
$custom-light: #c1c870;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b22c",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 44
  },
  "hsl": {
    "h": 67.164,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72736,
    "c": 0.15209,
    "h": 116.4
  },
  "luminance": 0.39704
}

Semantic roles & 50–950 ramp

primary
#A2B22C
secondary
#7D73C6
accent
#44E457
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B22C

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

Preview Lab → · Contrast checker → · Palette generator →

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