#2A8D26#2A8D26

#2A8D26 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.166 H 142.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2A8D26
RGBrgb(42, 141, 38)
HSLhsl(118, 58%, 35%)
HSVhsv(118, 73%, 55%)
CMYKcmyk(70.2%, 0%, 73%, 44.7%)
CIE-LABlab(51.47, -48.45, 44.42)
CIE-LCHlch(51.47, 65.73, 137.48°)
OKLaboklab(56.57% -0.1317 0.1011)
OKLCHoklch(56.57% 0.166 142.5)
XYZxyz(10.8289, 19.6808, 5.0614)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D26 #89268D
analogous
#5D8D26 #2A8D26 #268D56
triadic
#2A8D26 #262A8D #8D262A
tetradic
#2A8D26 #265D8D #89268D #8D5626
square
#2A8D26 #265D8D #89268D #8D5626
split-complementary
#2A8D26 #56268D #8D265D
monochromatic
#0D2D0C #1C5D19 #2A8D26 #38BD33 #5FD35B

Accessibility & contrast

On white

4.25
#2A8D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2A8D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8D26
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8D26#FFFFFF#000000##000000
##2A8D261.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F15
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#108979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8d26;
/* rgb */ color: rgb(42, 141, 38);
/* oklch */ color: oklch(56.6% 0.166 142.5);
Tailwind
colors: {
  custom: {
    50: '#73af67',
    500: '#2a8d26',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d26;
$custom-light: #73af67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d26",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 117.67,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56571,
    "c": 0.16606,
    "h": 142.5
  },
  "luminance": 0.19682
}

Semantic roles & 50–950 ramp

primary
#2A8D26
secondary
#B457B8
accent
#47E1DB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8D26

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

Preview Lab → · Contrast checker → · Palette generator →

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