#2A8A26#2A8A26

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

Color values

HEX#2A8A26
RGBrgb(42, 138, 38)
HSLhsl(118, 57%, 35%)
HSVhsv(118, 72%, 54%)
CMYKcmyk(69.6%, 0%, 72.5%, 45.9%)
CIE-LABlab(50.46, -47.38, 43.37)
CIE-LCHlch(50.46, 64.24, 137.53°)
OKLaboklab(55.73% -0.1289 0.0989)
OKLCHoklch(55.73% 0.162 142.5)
XYZxyz(10.3926, 18.8080, 4.9160)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A26 #86268A
analogous
#5C8A26 #2A8A26 #268A54
triadic
#2A8A26 #262A8A #8A262A
tetradic
#2A8A26 #265C8A #86268A #8A5426
square
#2A8A26 #265C8A #86268A #8A5426
split-complementary
#2A8A26 #54268A #8A265C
monochromatic
#0D2A0C #1B5A19 #2A8A26 #39BA33 #5ED159

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8A26#FFFFFF#000000##000000
##2A8A261.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)
#8D7D16
Deuteranopia (green-blind)
#827530
Tritanopia (blue-blind)
#128676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8a26;
/* rgb */ color: rgb(42, 138, 38);
/* oklch */ color: oklch(55.7% 0.162 142.5);
Tailwind
colors: {
  custom: {
    50: '#72ad66',
    500: '#2a8a26',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a26;
$custom-light: #72ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a26",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 117.6,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55732,
    "c": 0.16243,
    "h": 142.5
  },
  "luminance": 0.18809
}

Semantic roles & 50–950 ramp

primary
#2A8A26
secondary
#B256B6
accent
#48E0DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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