#A2B149#A2B149

#A2B149 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.7% C 0.130 H 116.6°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#A2B149
RGBrgb(162, 177, 73)
HSLhsl(69, 42%, 49%)
HSVhsv(69, 59%, 69%)
CMYKcmyk(8.5%, 0%, 58.8%, 30.6%)
CIE-LABlab(69.19, -19.99, 50.27)
CIE-LCHlch(69.19, 54.10, 111.68°)
OKLaboklab(72.75% -0.0583 0.1162)
OKLCHoklch(72.75% 0.13 116.6)
XYZxyz(31.8256, 39.6071, 12.2704)
Luminance0.3961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B149 #5849B1
analogous
#B18C49 #A2B149 #6EB149
triadic
#A2B149 #49A2B1 #B149A2
tetradic
#A2B149 #49B18C #5849B1 #B1496E
square
#A2B149 #49B18C #5849B1 #B1496E
split-complementary
#A2B149 #496EB1 #8C49B1
monochromatic
#535A25 #7A8637 #A2B149 #B9C572 #CFD79E

Accessibility & contrast

On white

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

On black

8.92
#A2B149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B149
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B149#FFFFFF#000000##000000
##A2B1491.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83E
Deuteranopia (green-blind)
#BBAA4F
Tritanopia (blue-blind)
#ABA89B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b149;
/* rgb */ color: rgb(162, 177, 73);
/* oklch */ color: oklch(72.7% 0.130 116.6);
Tailwind
colors: {
  custom: {
    50: '#c0c880',
    500: '#a2b149',
    950: '#000000',
  },
}
SCSS
$custom: #a2b149;
$custom-light: #c0c880;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b149",
  "rgb": {
    "r": 162,
    "g": 177,
    "b": 73
  },
  "hsl": {
    "h": 68.654,
    "s": 41.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72748,
    "c": 0.13002,
    "h": 116.6
  },
  "luminance": 0.39607
}

Semantic roles & 50–950 ramp

primary
#A2B149
secondary
#9992C3
accent
#56D168
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130A
muted
#81827C

Preview Lab

Preview with #A2B149

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

Preview Lab → · Contrast checker → · Palette generator →

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