#A2B22D#A2B22D

#A2B22D 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#A2B22D
RGBrgb(162, 178, 45)
HSLhsl(67, 60%, 44%)
HSVhsv(67, 75%, 70%)
CMYKcmyk(9%, 0%, 74.7%, 30.2%)
CIE-LABlab(69.26, -22.25, 61.53)
CIE-LCHlch(69.26, 65.43, 109.88°)
OKLaboklab(72.74% -0.0673 0.1358)
OKLCHoklch(72.74% 0.152 116.4)
XYZxyz(31.2952, 39.7121, 8.4987)
Luminance0.3971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B22D #3D2DB2
analogous
#B27F2D #A2B22D #5FB22D
triadic
#A2B22D #2DA2B2 #B22DA2
tetradic
#A2B22D #2DB27F #3D2DB2 #B22D5F
square
#A2B22D #2DB27F #3D2DB2 #B22D5F
split-complementary
#A2B22D #2D5FB2 #7F2DB2
monochromatic
#495014 #768121 #A2B22D #C1D14B #D2DE7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B22D#FFFFFF#000000##000000
##A2B22D1.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)
#BFA80F
Deuteranopia (green-blind)
#BDAA39
Tritanopia (blue-blind)
#ACA899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b22d;
/* rgb */ color: rgb(162, 178, 45);
/* oklch */ color: oklch(72.7% 0.152 116.4);
Tailwind
colors: {
  custom: {
    50: '#c1c870',
    500: '#a2b22d',
    950: '#000000',
  },
}
SCSS
$custom: #a2b22d;
$custom-light: #c1c870;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b22d",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 67.218,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72742,
    "c": 0.15153,
    "h": 116.4
  },
  "luminance": 0.39712
}

Semantic roles & 50–950 ramp

primary
#A2B22D
secondary
#7E75C6
accent
#45E358
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B22D

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

Preview Lab → · Contrast checker → · Palette generator →

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