#A2B122#A2B122

#A2B122 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.5% C 0.156 H 115.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#A2B122
RGBrgb(162, 177, 34)
HSLhsl(66, 68%, 41%)
HSVhsv(66, 81%, 69%)
CMYKcmyk(8.5%, 0%, 80.8%, 30.6%)
CIE-LABlab(68.93, -22.21, 64.59)
CIE-LCHlch(68.93, 68.30, 108.98°)
OKLaboklab(72.45% -0.0681 0.1403)
OKLCHoklch(72.45% 0.156 115.9)
XYZxyz(30.9121, 39.2416, 7.4590)
Luminance0.3924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B122 #3122B1
analogous
#B17922 #A2B122 #5BB122
triadic
#A2B122 #22A2B1 #B122A2
tetradic
#A2B122 #22B179 #3122B1 #B1225B
square
#A2B122 #22B179 #3122B1 #B1225B
split-complementary
#A2B122 #225BB1 #7922B1
monochromatic
#444A0E #737E18 #A2B122 #C8D938 #D6E36B

Accessibility & contrast

On white

2.37
#A2B122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#A2B122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B122
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B122#FFFFFF#000000##000000
##A2B1221.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BDA930
Tritanopia (blue-blind)
#ADA697
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b122;
/* rgb */ color: rgb(162, 177, 34);
/* oklch */ color: oklch(72.5% 0.156 115.9);
Tailwind
colors: {
  custom: {
    50: '#c1c86b',
    500: '#a2b122',
    950: '#000000',
  },
}
SCSS
$custom: #a2b122;
$custom-light: #c1c86b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b122",
  "rgb": {
    "r": 162,
    "g": 177,
    "b": 34
  },
  "hsl": {
    "h": 66.294,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72453,
    "c": 0.15595,
    "h": 115.9
  },
  "luminance": 0.39241
}

Semantic roles & 50–950 ramp

primary
#A2B122
secondary
#7166C9
accent
#3DEB4F
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A2B122

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

Preview Lab → · Contrast checker → · Palette generator →

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