#2A8A24#2A8A24

#2A8A24 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.164 H 142.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2A8A24
RGBrgb(42, 138, 36)
HSLhsl(116, 59%, 34%)
HSVhsv(116, 74%, 54%)
CMYKcmyk(69.6%, 0%, 73.9%, 45.9%)
CIE-LABlab(50.45, -47.56, 44.16)
CIE-LCHlch(50.45, 64.90, 137.13°)
OKLaboklab(55.72% -0.1294 0.1003)
OKLCHoklch(55.72% 0.164 142.2)
XYZxyz(10.3612, 18.7955, 4.7506)
Luminance0.1880 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A24 #84248A
analogous
#5D8A24 #2A8A24 #248A51
triadic
#2A8A24 #242A8A #8A242A
tetradic
#2A8A24 #245D8A #84248A #8A5124
square
#2A8A24 #245D8A #84248A #8A5124
split-complementary
#2A8A24 #51248A #8A245D
monochromatic
#0C290B #1B5917 #2A8A24 #39BB31 #5DD356

Accessibility & contrast

On white

4.41
#2A8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2A8A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A24
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A24#FFFFFF#000000##000000
##2A8A241.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D12
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#138676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8a24;
/* rgb */ color: rgb(42, 138, 36);
/* oklch */ color: oklch(55.7% 0.164 142.2);
Tailwind
colors: {
  custom: {
    50: '#72ad65',
    500: '#2a8a24',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a24;
$custom-light: #72ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a24",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 116.471,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55715,
    "c": 0.16373,
    "h": 142.2
  },
  "luminance": 0.18797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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