#A2B751#A2B751

#A2B751 is a light, vivid yellow-green. Relative luminance 0.421; OKLCH L 74.2% C 0.130 H 119.4°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#A2B751
RGBrgb(162, 183, 81)
HSLhsl(72, 41%, 52%)
HSVhsv(72, 56%, 72%)
CMYKcmyk(11.5%, 0%, 55.7%, 28.2%)
CIE-LABlab(70.97, -22.32, 48.61)
CIE-LCHlch(70.97, 53.49, 114.66°)
OKLaboklab(74.2% -0.064 0.1136)
OKLCHoklch(74.2% 0.13 119.4)
XYZxyz(33.3194, 42.1426, 14.1620)
Luminance0.4214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B751 #6651B7
analogous
#B79951 #A2B751 #6FB751
triadic
#A2B751 #51A2B7 #B751A2
tetradic
#A2B751 #51B799 #6651B7 #B7516F
square
#A2B751 #51B799 #6651B7 #B7516F
split-complementary
#A2B751 #516FB7 #9951B7
monochromatic
#586429 #7E8F3B #A2B751 #B9C97C #D0DBA8

Accessibility & contrast

On white

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

On black

9.43
#A2B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B751
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B751#FFFFFF#000000##000000
##A2B7511.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b751;
/* rgb */ color: rgb(162, 183, 81);
/* oklch */ color: oklch(74.2% 0.130 119.4);
Tailwind
colors: {
  custom: {
    50: '#c0cc85',
    500: '#a2b751',
    950: '#000000',
  },
}
SCSS
$custom: #a2b751;
$custom-light: #c0cc85;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b751",
  "rgb": {
    "r": 162,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 72.353,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74202,
    "c": 0.13037,
    "h": 119.4
  },
  "luminance": 0.42142
}

Semantic roles & 50–950 ramp

primary
#A2B751
secondary
#A59CC8
accent
#57D170
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #A2B751

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

Preview Lab → · Contrast checker → · Palette generator →

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