#A2B458#A2B458

#A2B458 is a light, moderate yellow-green. Relative luminance 0.410; OKLCH L 73.6% C 0.120 H 118.6°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#A2B458
RGBrgb(162, 180, 88)
HSLhsl(72, 38%, 53%)
HSVhsv(72, 51%, 71%)
CMYKcmyk(10%, 0%, 51.1%, 29.4%)
CIE-LABlab(70.20, -20.17, 44.38)
CIE-LCHlch(70.20, 48.75, 114.44°)
OKLaboklab(73.61% -0.0573 0.1051)
OKLCHoklch(73.61% 0.12 118.6)
XYZxyz(32.9833, 41.0287, 15.4124)
Luminance0.4103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B458 #6A58B4
analogous
#B49858 #A2B458 #74B458
triadic
#A2B458 #58A2B4 #B458A2
tetradic
#A2B458 #58B498 #6A58B4 #B45874
square
#A2B458 #58B498 #6A58B4 #B45874
split-complementary
#A2B458 #5874B4 #9858B4
monochromatic
#5A642D #7F8F40 #A2B458 #BAC782 #D1DAAC

Accessibility & contrast

On white

2.28
#A2B458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#A2B458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B458
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B458#FFFFFF#000000##000000
##A2B4581.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAC50
Deuteranopia (green-blind)
#BCAC5D
Tritanopia (blue-blind)
#AAAC9F
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a2b458;
/* rgb */ color: rgb(162, 180, 88);
/* oklch */ color: oklch(73.6% 0.120 118.6);
Tailwind
colors: {
  custom: {
    50: '#bfca89',
    500: '#a2b458',
    950: '#000000',
  },
}
SCSS
$custom: #a2b458;
$custom-light: #bfca89;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b458",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 88
  },
  "hsl": {
    "h": 71.739,
    "s": 38.017,
    "l": 52.549
  },
  "oklch": {
    "l": 0.73607,
    "c": 0.1197,
    "h": 118.6
  },
  "luminance": 0.41028
}

Semantic roles & 50–950 ramp

primary
#A2B458
secondary
#A8A0C8
accent
#5ACE71
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #A2B458

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

Preview Lab → · Contrast checker → · Palette generator →

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