#A2B451#A2B451

#A2B451 is a light, vivid yellow-green. Relative luminance 0.409; OKLCH L 73.5% C 0.127 H 118.2°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#A2B451
RGBrgb(162, 180, 81)
HSLhsl(71, 40%, 51%)
HSVhsv(71, 55%, 71%)
CMYKcmyk(10%, 0%, 55%, 29.4%)
CIE-LABlab(70.12, -20.82, 47.64)
CIE-LCHlch(70.12, 51.99, 113.61°)
OKLaboklab(73.52% -0.0598 0.1115)
OKLCHoklch(73.52% 0.127 118.2)
XYZxyz(32.7072, 40.9182, 13.9580)
Luminance0.4092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B451 #6351B4
analogous
#B49451 #A2B451 #70B451
triadic
#A2B451 #51A2B4 #B451A2
tetradic
#A2B451 #51B494 #6351B4 #B45170
square
#A2B451 #51B494 #6351B4 #B45170
split-complementary
#A2B451 #5170B4 #9451B4
monochromatic
#57612A #7D8C3C #A2B451 #B9C67C #D0D9A7

Accessibility & contrast

On white

2.29
#A2B451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#A2B451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B451
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B451#FFFFFF#000000##000000
##A2B4511.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB47
Deuteranopia (green-blind)
#BDAC57
Tritanopia (blue-blind)
#AAAB9E
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b451;
/* rgb */ color: rgb(162, 180, 81);
/* oklch */ color: oklch(73.5% 0.127 118.2);
Tailwind
colors: {
  custom: {
    50: '#bfca85',
    500: '#a2b451',
    950: '#000000',
  },
}
SCSS
$custom: #a2b451;
$custom-light: #bfca85;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b451",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 70.909,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7352,
    "c": 0.12651,
    "h": 118.2
  },
  "luminance": 0.40918
}

Semantic roles & 50–950 ramp

primary
#A2B451
secondary
#A29BC6
accent
#58D06E
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #A2B451

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

Preview Lab → · Contrast checker → · Palette generator →

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