#A2B754#A2B754

#A2B754 is a light, vivid yellow-green. Relative luminance 0.422; OKLCH L 74.2% C 0.128 H 119.6°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#A2B754
RGBrgb(162, 183, 84)
HSLhsl(73, 41%, 52%)
HSVhsv(73, 54%, 72%)
CMYKcmyk(11.5%, 0%, 54.1%, 28.2%)
CIE-LABlab(71.00, -22.05, 47.24)
CIE-LCHlch(71.00, 52.13, 115.02°)
OKLaboklab(74.24% -0.063 0.1109)
OKLCHoklch(74.24% 0.128 119.6)
XYZxyz(33.4344, 42.1886, 14.7676)
Luminance0.4219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B754 #6954B7
analogous
#B79A54 #A2B754 #71B754
triadic
#A2B754 #54A2B7 #B754A2
tetradic
#A2B754 #54B79A #6954B7 #B75471
square
#A2B754 #54B79A #6954B7 #B75471
split-complementary
#A2B754 #5471B7 #9A54B7
monochromatic
#59662B #7F913D #A2B754 #B9C97F #D1DBAA

Accessibility & contrast

On white

2.23
#A2B754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#A2B754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B754
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B754#FFFFFF#000000##000000
##A2B7541.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE4A
Deuteranopia (green-blind)
#BFAE5A
Tritanopia (blue-blind)
#AAAEA1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a2b754;
/* rgb */ color: rgb(162, 183, 84);
/* oklch */ color: oklch(74.2% 0.128 119.6);
Tailwind
colors: {
  custom: {
    50: '#bfcc87',
    500: '#a2b754',
    950: '#000000',
  },
}
SCSS
$custom: #a2b754;
$custom-light: #bfcc87;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b754",
  "rgb": {
    "r": 162,
    "g": 183,
    "b": 84
  },
  "hsl": {
    "h": 72.727,
    "s": 40.741,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74238,
    "c": 0.12756,
    "h": 119.6
  },
  "luminance": 0.42188
}

Semantic roles & 50–950 ramp

primary
#A2B754
secondary
#A79EC9
accent
#57D171
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#12130B
muted
#81827C

Preview Lab

Preview with #A2B754

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

Preview Lab → · Contrast checker → · Palette generator →

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