#2A9626#2A9626

#2A9626 is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.1% C 0.177 H 142.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2A9626
RGBrgb(42, 150, 38)
HSLhsl(118, 60%, 37%)
HSVhsv(118, 75%, 59%)
CMYKcmyk(72%, 0%, 74.7%, 41.2%)
CIE-LABlab(54.49, -51.57, 47.51)
CIE-LCHlch(54.49, 70.12, 137.34°)
OKLaboklab(59.08% -0.1402 0.1075)
OKLCHoklch(59.08% 0.177 142.5)
XYZxyz(12.2103, 22.4435, 5.5219)
Luminance0.2245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9626 #922696
analogous
#629626 #2A9626 #26965A
triadic
#2A9626 #262A96 #96262A
tetradic
#2A9626 #266296 #922696 #965A26
square
#2A9626 #266296 #922696 #965A26
split-complementary
#2A9626 #5A2696 #962662
monochromatic
#0F340D #1C651A #2A9626 #38C732 #64D760

Accessibility & contrast

On white

3.83
#2A9626 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#2A9626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9626
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9626#FFFFFF#000000##000000
##2A96261.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998811
Deuteranopia (green-blind)
#8D7F32
Tritanopia (blue-blind)
#079180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a9626;
/* rgb */ color: rgb(42, 150, 38);
/* oklch */ color: oklch(59.1% 0.177 142.5);
Tailwind
colors: {
  custom: {
    50: '#75b668',
    500: '#2a9626',
    950: '#000000',
  },
}
SCSS
$custom: #2a9626;
$custom-light: #75b668;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9626",
  "rgb": {
    "r": 42,
    "g": 150,
    "b": 38
  },
  "hsl": {
    "h": 117.857,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59076,
    "c": 0.17669,
    "h": 142.5
  },
  "luminance": 0.22445
}

Semantic roles & 50–950 ramp

primary
#2A9626
secondary
#B85CBC
accent
#45E3DD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A9626

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

Preview Lab → · Contrast checker → · Palette generator →

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