#A2B741#A2B741

#A2B741 is a light, vivid yellow-green. Relative luminance 0.419; OKLCH L 74.0% C 0.144 H 118.7°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#A2B741
RGBrgb(162, 183, 65)
HSLhsl(71, 48%, 49%)
HSVhsv(71, 64%, 72%)
CMYKcmyk(11.5%, 0%, 64.5%, 28.2%)
CIE-LABlab(70.82, -23.57, 55.52)
CIE-LCHlch(70.82, 60.32, 113.00°)
OKLaboklab(74.04% -0.0691 0.1263)
OKLCHoklch(74.04% 0.144 118.7)
XYZxyz(32.7885, 41.9302, 11.3660)
Luminance0.4193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B741 #5641B7
analogous
#B79141 #A2B741 #67B741
triadic
#A2B741 #41A2B7 #B741A2
tetradic
#A2B741 #41B791 #5641B7 #B74167
square
#A2B741 #41B791 #5641B7 #B74167
split-complementary
#A2B741 #4167B7 #9141B7
monochromatic
#525D21 #7A8A31 #A2B741 #B9CA6B #CFDA98

Accessibility & contrast

On white

2.24
#A2B741 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#A2B741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B741
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B741#FFFFFF#000000##000000
##A2B7411.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD32
Deuteranopia (green-blind)
#C0AE49
Tritanopia (blue-blind)
#ABAD9F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a2b741;
/* rgb */ color: rgb(162, 183, 65);
/* oklch */ color: oklch(74.0% 0.144 118.7);
Tailwind
colors: {
  custom: {
    50: '#c0cc7b',
    500: '#a2b741',
    950: '#000000',
  },
}
SCSS
$custom: #a2b741;
$custom-light: #c0cc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b741",
  "rgb": {
    "r": 162,
    "g": 183,
    "b": 65
  },
  "hsl": {
    "h": 70.678,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74037,
    "c": 0.14396,
    "h": 118.7
  },
  "luminance": 0.4193
}

Semantic roles & 50–950 ramp

primary
#A2B741
secondary
#988EC6
accent
#51D769
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B741

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

Preview Lab → · Contrast checker → · Palette generator →

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