#2A8B1E#2A8B1E

#2A8B1E is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.168 H 141.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2A8B1E
RGBrgb(42, 139, 30)
HSLhsl(113, 64%, 33%)
HSVhsv(113, 78%, 55%)
CMYKcmyk(69.8%, 0%, 78.4%, 45.5%)
CIE-LABlab(50.75, -48.39, 46.68)
CIE-LCHlch(50.75, 67.23, 136.03°)
OKLaboklab(55.95% -0.132 0.1047)
OKLCHoklch(55.95% 0.168 141.6)
XYZxyz(10.4212, 19.0501, 4.3559)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8B1E #7F1E8B
analogous
#618B1E #2A8B1E #1E8B48
triadic
#2A8B1E #1E2A8B #8B1E2A
tetradic
#2A8B1E #1E618B #7F1E8B #8B481E
square
#2A8B1E #1E618B #7F1E8B #8B481E
split-complementary
#2A8B1E #481E8B #8B1E61
monochromatic
#0C2608 #1B5913 #2A8B1E #39BD29 #5BD84B

Accessibility & contrast

On white

4.37
#2A8B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2A8B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8B1E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8B1E#FFFFFF#000000##000000
##2A8B1E1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E04
Deuteranopia (green-blind)
#83762A
Tritanopia (blue-blind)
#148776
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8b1e;
/* rgb */ color: rgb(42, 139, 30);
/* oklch */ color: oklch(56.0% 0.168 141.6);
Tailwind
colors: {
  custom: {
    50: '#73ae62',
    500: '#2a8b1e',
    950: '#000000',
  },
}
SCSS
$custom: #2a8b1e;
$custom-light: #73ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8b1e",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 113.394,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5595,
    "c": 0.16846,
    "h": 141.6
  },
  "luminance": 0.19051
}

Semantic roles & 50–950 ramp

primary
#2A8B1E
secondary
#AE4ABB
accent
#40E7D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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