#2A9A26#2A9A26

#2A9A26 is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.2% C 0.181 H 142.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2A9A26
RGBrgb(42, 154, 38)
HSLhsl(118, 60%, 38%)
HSVhsv(118, 75%, 60%)
CMYKcmyk(72.7%, 0%, 75.3%, 39.6%)
CIE-LABlab(55.83, -52.92, 48.86)
CIE-LCHlch(55.83, 72.03, 137.29°)
OKLaboklab(60.18% -0.1439 0.1103)
OKLCHoklch(60.18% 0.181 142.5)
XYZxyz(12.8595, 23.7420, 5.7383)
Luminance0.2374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9A26 #96269A
analogous
#649A26 #2A9A26 #269A5C
triadic
#2A9A26 #262A9A #9A262A
tetradic
#2A9A26 #26649A #96269A #9A5C26
square
#2A9A26 #26649A #96269A #9A5C26
split-complementary
#2A9A26 #5C269A #9A2664
monochromatic
#0F380E #1D691A #2A9A26 #37CB32 #66D862

Accessibility & contrast

On white

3.65
#2A9A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#2A9A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9A26
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9A26#FFFFFF#000000##000000
##2A9A261.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B0F
Deuteranopia (green-blind)
#918232
Tritanopia (blue-blind)
#039584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a9a26;
/* rgb */ color: rgb(42, 154, 38);
/* oklch */ color: oklch(60.2% 0.181 142.5);
Tailwind
colors: {
  custom: {
    50: '#76b968',
    500: '#2a9a26',
    950: '#000000',
  },
}
SCSS
$custom: #2a9a26;
$custom-light: #76b968;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9a26",
  "rgb": {
    "r": 42,
    "g": 154,
    "b": 38
  },
  "hsl": {
    "h": 117.931,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60183,
    "c": 0.18131,
    "h": 142.5
  },
  "luminance": 0.23743
}

Semantic roles & 50–950 ramp

primary
#2A9A26
secondary
#BA5EBE
accent
#44E4DE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2A9A26

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

Preview Lab → · Contrast checker → · Palette generator →

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