#2A8231#2A8231

#2A8231 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.144 H 144.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2A8231
RGBrgb(42, 130, 49)
HSLhsl(125, 51%, 34%)
HSVhsv(125, 68%, 51%)
CMYKcmyk(67.7%, 0%, 62.3%, 49%)
CIE-LABlab(47.85, -43.25, 35.61)
CIE-LCHlch(47.85, 56.02, 140.54°)
OKLaboklab(53.6% -0.1171 0.0837)
OKLCHoklch(53.6% 0.144 144.5)
XYZxyz(9.4913, 16.6783, 5.6242)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8231 #822A7B
analogous
#4F822A #2A8231 #2A825D
triadic
#2A8231 #312A82 #82312A
tetradic
#2A8231 #2A4F82 #822A7B #825D2A
square
#2A8231 #2A4F82 #822A7B #825D2A
split-complementary
#2A8231 #5D2A82 #822A4F
monochromatic
#0C250E #1B5420 #2A8231 #39B042 #5CCA65

Accessibility & contrast

On white

4.84
#2A8231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2A8231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8231
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8231#FFFFFF#000000##FFFFFF
##2A82311.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847628
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#137F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a8231;
/* rgb */ color: rgb(42, 130, 49);
/* oklch */ color: oklch(53.6% 0.144 144.5);
Tailwind
colors: {
  custom: {
    50: '#70a76c',
    500: '#2a8231',
    950: '#000000',
  },
}
SCSS
$custom: #2a8231;
$custom-light: #70a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8231",
  "rgb": {
    "r": 42,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 124.773,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53604,
    "c": 0.14395,
    "h": 144.5
  },
  "luminance": 0.16679
}

Semantic roles & 50–950 ramp

primary
#2A8231
secondary
#B058A9
accent
#4DCFDB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2A8231

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

Preview Lab → · Contrast checker → · Palette generator →

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