#2A9E26#2A9E26

#2A9E26 is a mid, vivid green. Relative luminance 0.251; OKLCH L 61.3% C 0.186 H 142.5°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2A9E26
RGBrgb(42, 158, 38)
HSLhsl(118, 61%, 38%)
HSVhsv(118, 76%, 62%)
CMYKcmyk(73.4%, 0%, 75.9%, 38%)
CIE-LABlab(57.16, -54.26, 50.19)
CIE-LCHlch(57.16, 73.91, 137.23°)
OKLaboklab(61.29% -0.1475 0.1131)
OKLCHoklch(61.29% 0.186 142.5)
XYZxyz(13.5307, 25.0844, 5.9620)
Luminance0.2509 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9E26 #9A269E
analogous
#669E26 #2A9E26 #269E5E
triadic
#2A9E26 #262A9E #9E262A
tetradic
#2A9E26 #26669E #9A269E #9E5E26
square
#2A9E26 #26669E #9A269E #9E5E26
split-complementary
#2A9E26 #5E269E #9E2666
monochromatic
#103B0E #1D6D1A #2A9E26 #38CE33 #68DA65

Accessibility & contrast

On white

3.49
#2A9E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#2A9E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9E26
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9E26#FFFFFF#000000##000000
##2A9E261.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F0D
Deuteranopia (green-blind)
#958633
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2a9e26;
/* rgb */ color: rgb(42, 158, 38);
/* oklch */ color: oklch(61.3% 0.186 142.5);
Tailwind
colors: {
  custom: {
    50: '#77bc69',
    500: '#2a9e26',
    950: '#000000',
  },
}
SCSS
$custom: #2a9e26;
$custom-light: #77bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9e26",
  "rgb": {
    "r": 42,
    "g": 158,
    "b": 38
  },
  "hsl": {
    "h": 118,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61287,
    "c": 0.18587,
    "h": 142.5
  },
  "luminance": 0.25086
}

Semantic roles & 50–950 ramp

primary
#2A9E26
secondary
#BC60C0
accent
#43E4DF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2A9E26

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

Preview Lab → · Contrast checker → · Palette generator →

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