#A2B150#A2B150

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

Color values

HEX#A2B150
RGBrgb(162, 177, 80)
HSLhsl(69, 38%, 50%)
HSVhsv(69, 55%, 69%)
CMYKcmyk(8.5%, 0%, 54.8%, 30.6%)
CIE-LABlab(69.26, -19.40, 47.12)
CIE-LCHlch(69.26, 50.96, 112.38°)
OKLaboklab(72.83% -0.0559 0.1103)
OKLCHoklch(72.83% 0.124 116.9)
XYZxyz(32.0709, 39.7052, 13.5622)
Luminance0.3971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B150 #5F50B1
analogous
#B18F50 #A2B150 #72B150
triadic
#A2B150 #50A2B1 #B150A2
tetradic
#A2B150 #50B18F #5F50B1 #B15072
square
#A2B150 #50B18F #5F50B1 #B15072
split-complementary
#A2B150 #5072B1 #8F50B1
monochromatic
#555D29 #7C873C #A2B150 #B8C47A #CFD7A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B150#FFFFFF#000000##000000
##A2B1501.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)
#BCA946
Deuteranopia (green-blind)
#BAAA56
Tritanopia (blue-blind)
#ABA89B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b150;
/* rgb */ color: rgb(162, 177, 80);
/* oklch */ color: oklch(72.8% 0.124 116.9);
Tailwind
colors: {
  custom: {
    50: '#bfc884',
    500: '#a2b150',
    950: '#000000',
  },
}
SCSS
$custom: #a2b150;
$custom-light: #bfc884;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b150",
  "rgb": {
    "r": 162,
    "g": 177,
    "b": 80
  },
  "hsl": {
    "h": 69.278,
    "s": 38.34,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72827,
    "c": 0.12363,
    "h": 116.9
  },
  "luminance": 0.39705
}

Semantic roles & 50–950 ramp

primary
#A2B150
secondary
#9F99C4
accent
#5ACE6C
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #A2B150

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

Preview Lab → · Contrast checker → · Palette generator →

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