#A2B22F#A2B22F

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

Color values

HEX#A2B22F
RGBrgb(162, 178, 47)
HSLhsl(67, 58%, 44%)
HSVhsv(67, 74%, 70%)
CMYKcmyk(9%, 0%, 73.6%, 30.2%)
CIE-LABlab(69.28, -22.16, 60.86)
CIE-LCHlch(69.28, 64.77, 110.00°)
OKLaboklab(72.75% -0.0669 0.1347)
OKLCHoklch(72.75% 0.15 116.4)
XYZxyz(31.3346, 39.7278, 8.7063)
Luminance0.3973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B22F #3F2FB2
analogous
#B2812F #A2B22F #61B22F
triadic
#A2B22F #2FA2B2 #B22FA2
tetradic
#A2B22F #2FB281 #3F2FB2 #B22F61
square
#A2B22F #2FB281 #3F2FB2 #B22F61
split-complementary
#A2B22F #2F61B2 #812FB2
monochromatic
#4A5115 #768222 #A2B22F #C0D04E #D1DD7E

Accessibility & contrast

On white

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

On black

8.95
#A2B22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B22F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B22F#FFFFFF#000000##000000
##A2B22F1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b22f;
/* rgb */ color: rgb(162, 178, 47);
/* oklch */ color: oklch(72.8% 0.150 116.4);
Tailwind
colors: {
  custom: {
    50: '#c1c871',
    500: '#a2b22f',
    950: '#000000',
  },
}
SCSS
$custom: #a2b22f;
$custom-light: #c1c871;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b22f",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 67.328,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72754,
    "c": 0.15037,
    "h": 116.4
  },
  "luminance": 0.39727
}

Semantic roles & 50–950 ramp

primary
#A2B22F
secondary
#8177C6
accent
#46E159
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B22F

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

Preview Lab → · Contrast checker → · Palette generator →

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