#A2B22B#A2B22B

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

Color values

HEX#A2B22B
RGBrgb(162, 178, 43)
HSLhsl(67, 61%, 43%)
HSVhsv(67, 76%, 70%)
CMYKcmyk(9%, 0%, 75.8%, 30.2%)
CIE-LABlab(69.25, -22.35, 62.18)
CIE-LCHlch(69.25, 66.08, 109.77°)
OKLaboklab(72.73% -0.0677 0.1368)
OKLCHoklch(72.73% 0.153 116.4)
XYZxyz(31.2576, 39.6970, 8.3007)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B22B #3B2BB2
analogous
#B27E2B #A2B22B #5EB22B
triadic
#A2B22B #2BA2B2 #B22BA2
tetradic
#A2B22B #2BB27E #3B2BB2 #B22B5E
square
#A2B22B #2BB27E #3B2BB2 #B22B5E
split-complementary
#A2B22B #2B5EB2 #7E2BB2
monochromatic
#484F13 #75811F #A2B22B #C2D348 #D3DF79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B22B#FFFFFF#000000##000000
##A2B22B1.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)
#BFA809
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#ACA899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b22b;
/* rgb */ color: rgb(162, 178, 43);
/* oklch */ color: oklch(72.7% 0.153 116.4);
Tailwind
colors: {
  custom: {
    50: '#c1c86f',
    500: '#a2b22b',
    950: '#000000',
  },
}
SCSS
$custom: #a2b22b;
$custom-light: #c1c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b22b",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 67.111,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.7273,
    "c": 0.15263,
    "h": 116.4
  },
  "luminance": 0.39697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2B22B

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

Preview Lab → · Contrast checker → · Palette generator →

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