#2A8B24#2A8B24

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

Color values

HEX#2A8B24
RGBrgb(42, 139, 36)
HSLhsl(117, 59%, 34%)
HSVhsv(117, 74%, 55%)
CMYKcmyk(69.8%, 0%, 74.1%, 45.5%)
CIE-LABlab(50.78, -47.91, 44.50)
CIE-LCHlch(50.78, 65.39, 137.11°)
OKLaboklab(56% -0.1304 0.101)
OKLCHoklch(56% 0.165 142.3)
XYZxyz(10.5053, 19.0837, 4.7986)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8B24 #85248B
analogous
#5E8B24 #2A8B24 #248B52
triadic
#2A8B24 #242A8B #8B242A
tetradic
#2A8B24 #245E8B #85248B #8B5224
square
#2A8B24 #245E8B #85248B #8B5224
split-complementary
#2A8B24 #52248B #8B245E
monochromatic
#0D2A0B #1B5A17 #2A8B24 #39BC31 #5DD356

Accessibility & contrast

On white

4.36
#2A8B24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2A8B24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8B24
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8B24#FFFFFF#000000##000000
##2A8B241.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E12
Deuteranopia (green-blind)
#83762F
Tritanopia (blue-blind)
#128777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8b24;
/* rgb */ color: rgb(42, 139, 36);
/* oklch */ color: oklch(56.0% 0.165 142.3);
Tailwind
colors: {
  custom: {
    50: '#72ae65',
    500: '#2a8b24',
    950: '#000000',
  },
}
SCSS
$custom: #2a8b24;
$custom-light: #72ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8b24",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 116.505,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55995,
    "c": 0.16493,
    "h": 142.3
  },
  "luminance": 0.19085
}

Semantic roles & 50–950 ramp

primary
#2A8B24
secondary
#B253B7
accent
#46E2D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8B24

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

Preview Lab → · Contrast checker → · Palette generator →

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