#2A8B1B#2A8B1B

#2A8B1B is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.170 H 141.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2A8B1B
RGBrgb(42, 139, 27)
HSLhsl(112, 67%, 33%)
HSVhsv(112, 81%, 55%)
CMYKcmyk(69.8%, 0%, 80.6%, 45.5%)
CIE-LABlab(50.73, -48.59, 47.67)
CIE-LCHlch(50.73, 68.07, 135.55°)
OKLaboklab(55.93% -0.1327 0.1063)
OKLCHoklch(55.93% 0.17 141.3)
XYZxyz(10.3847, 19.0355, 4.1636)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8B1B #7C1B8B
analogous
#628B1B #2A8B1B #1B8B44
triadic
#2A8B1B #1B2A8B #8B1B2A
tetradic
#2A8B1B #1B628B #7C1B8B #8B441B
square
#2A8B1B #1B628B #7C1B8B #8B441B
split-complementary
#2A8B1B #441B8B #8B1B62
monochromatic
#0B2507 #1B5811 #2A8B1B #39BE25 #59DB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8B1B#FFFFFF#000000##000000
##2A8B1B1.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)
#8F7D00
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#158676
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8b1b;
/* rgb */ color: rgb(42, 139, 27);
/* oklch */ color: oklch(55.9% 0.170 141.3);
Tailwind
colors: {
  custom: {
    50: '#73ae61',
    500: '#2a8b1b',
    950: '#000000',
  },
}
SCSS
$custom: #2a8b1b;
$custom-light: #73ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8b1b",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 111.964,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55931,
    "c": 0.17004,
    "h": 141.3
  },
  "luminance": 0.19037
}

Semantic roles & 50–950 ramp

primary
#2A8B1B
secondary
#AD45BC
accent
#3DEAD3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2A8B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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