#2A8331#2A8331

#2A8331 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.145 H 144.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2A8331
RGBrgb(42, 131, 49)
HSLhsl(125, 51%, 34%)
HSVhsv(125, 68%, 51%)
CMYKcmyk(67.9%, 0%, 62.6%, 48.6%)
CIE-LABlab(48.19, -43.63, 35.99)
CIE-LCHlch(48.19, 56.56, 140.48°)
OKLaboklab(53.89% -0.1181 0.0845)
OKLCHoklch(53.89% 0.145 144.4)
XYZxyz(9.6249, 16.9456, 5.6687)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8331 #832A7C
analogous
#50832A #2A8331 #2A835E
triadic
#2A8331 #312A83 #83312A
tetradic
#2A8331 #2A5083 #832A7C #835E2A
square
#2A8331 #2A5083 #832A7C #835E2A
split-complementary
#2A8331 #5E2A83 #832A50
monochromatic
#0C260E #1B5520 #2A8331 #39B142 #5DCB65

Accessibility & contrast

On white

4.78
#2A8331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2A8331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8331
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8331#FFFFFF#000000##FFFFFF
##2A83311.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857728
Deuteranopia (green-blind)
#7B7038
Tritanopia (blue-blind)
#127F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a8331;
/* rgb */ color: rgb(42, 131, 49);
/* oklch */ color: oklch(53.9% 0.145 144.4);
Tailwind
colors: {
  custom: {
    50: '#70a86c',
    500: '#2a8331',
    950: '#000000',
  },
}
SCSS
$custom: #2a8331;
$custom-light: #70a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8331",
  "rgb": {
    "r": 42,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 124.719,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53885,
    "c": 0.14527,
    "h": 144.4
  },
  "luminance": 0.16947
}

Semantic roles & 50–950 ramp

primary
#2A8331
secondary
#B158AA
accent
#4DD0DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2A8331

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

Preview Lab → · Contrast checker → · Palette generator →

#2A8331 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva