#A2B277#A2B277

#A2B277 is a light, moderate yellow-green. Relative luminance 0.409; OKLCH L 73.7% C 0.082 H 120.8°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#A2B277
RGBrgb(162, 178, 119)
HSLhsl(76, 28%, 58%)
HSVhsv(76, 33%, 70%)
CMYKcmyk(9%, 0%, 33.1%, 30.2%)
CIE-LABlab(70.07, -15.55, 28.37)
CIE-LCHlch(70.07, 32.35, 118.72°)
OKLaboklab(73.65% -0.042 0.0706)
OKLCHoklch(73.65% 0.082 120.8)
XYZxyz(34.1503, 40.8541, 23.5357)
Luminance0.4085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B277 #8777B2
analogous
#B2A477 #A2B277 #84B277
triadic
#A2B277 #77A2B2 #B277A2
tetradic
#A2B277 #77B2A4 #8777B2 #B27784
square
#A2B277 #77B2A4 #8777B2 #B27784
split-complementary
#A2B277 #7784B2 #A477B2
monochromatic
#626F3F #859755 #A2B277 #BDC89E #D7DEC5

Accessibility & contrast

On white

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

On black

9.17
#A2B277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B277
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B277#FFFFFF#000000##000000
##A2B2771.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AB73
Deuteranopia (green-blind)
#B7AB7A
Tritanopia (blue-blind)
#A7ACA3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b277;
/* rgb */ color: rgb(162, 178, 119);
/* oklch */ color: oklch(73.7% 0.082 120.8);
Tailwind
colors: {
  custom: {
    50: '#bec99f',
    500: '#a2b277',
    950: '#000000',
  },
}
SCSS
$custom: #a2b277;
$custom-light: #bec99f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b277",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 119
  },
  "hsl": {
    "h": 76.271,
    "s": 27.7,
    "l": 58.235
  },
  "oklch": {
    "l": 0.73652,
    "c": 0.08214,
    "h": 120.8
  },
  "luminance": 0.40854
}

Semantic roles & 50–950 ramp

primary
#A2B277
secondary
#BDB7CE
accent
#64C47E
background
#FBFCF9
surface
#F7F8F2
border
#D0D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #A2B277

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

Preview Lab → · Contrast checker → · Palette generator →

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