#A2B050#A2B050

#A2B050 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.6% C 0.122 H 116.4°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#A2B050
RGBrgb(162, 176, 80)
HSLhsl(69, 38%, 50%)
HSVhsv(69, 55%, 69%)
CMYKcmyk(8%, 0%, 54.5%, 31%)
CIE-LABlab(68.98, -18.90, 46.79)
CIE-LCHlch(68.98, 50.46, 111.99°)
OKLaboklab(72.6% -0.0545 0.1096)
OKLCHoklch(72.6% 0.122 116.4)
XYZxyz(31.8741, 39.3116, 13.4966)
Luminance0.3931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B050 #5E50B0
analogous
#B08E50 #A2B050 #72B050
triadic
#A2B050 #50A2B0 #B050A2
tetradic
#A2B050 #50B08E #5E50B0 #B05072
square
#A2B050 #50B08E #5E50B0 #B05072
split-complementary
#A2B050 #5072B0 #8E50B0
monochromatic
#555C2A #7B863D #A2B050 #B8C37A #CFD6A4

Accessibility & contrast

On white

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

On black

8.86
#A2B050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B050
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B050#FFFFFF#000000##000000
##A2B0501.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA846
Deuteranopia (green-blind)
#BAA956
Tritanopia (blue-blind)
#ABA79B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b050;
/* rgb */ color: rgb(162, 176, 80);
/* oklch */ color: oklch(72.6% 0.122 116.4);
Tailwind
colors: {
  custom: {
    50: '#bfc784',
    500: '#a2b050',
    950: '#000000',
  },
}
SCSS
$custom: #a2b050;
$custom-light: #bfc784;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b050",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 80
  },
  "hsl": {
    "h": 68.75,
    "s": 37.795,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72601,
    "c": 0.12235,
    "h": 116.4
  },
  "luminance": 0.39311
}

Semantic roles & 50–950 ramp

primary
#A2B050
secondary
#9F98C3
accent
#5ACE6B
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #A2B050

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

Preview Lab → · Contrast checker → · Palette generator →

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