#2D9126#2D9126

#2D9126 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.8% C 0.170 H 142.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2D9126
RGBrgb(45, 145, 38)
HSLhsl(116, 58%, 36%)
HSVhsv(116, 74%, 57%)
CMYKcmyk(69%, 0%, 73.8%, 43.1%)
CIE-LABlab(52.89, -49.24, 45.90)
CIE-LCHlch(52.89, 67.32, 137.01°)
OKLaboklab(57.77% -0.1341 0.1042)
OKLCHoklch(57.77% 0.17 142.2)
XYZxyz(11.5568, 20.9474, 5.2676)
Luminance0.2095 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9126 #8A2691
analogous
#629126 #2D9126 #269154
triadic
#2D9126 #262D91 #91262D
tetradic
#2D9126 #266291 #8A2691 #915426
square
#2D9126 #266291 #8A2691 #915426
split-complementary
#2D9126 #542691 #912662
monochromatic
#0F300D #1E6119 #2D9126 #3CC133 #65D55D

Accessibility & contrast

On white

4.05
#2D9126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#2D9126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9126
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9126#FFFFFF#000000##000000
##2D91261.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948313
Deuteranopia (green-blind)
#897B31
Tritanopia (blue-blind)
#158D7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2d9126;
/* rgb */ color: rgb(45, 145, 38);
/* oklch */ color: oklch(57.8% 0.170 142.2);
Tailwind
colors: {
  custom: {
    50: '#75b267',
    500: '#2d9126',
    950: '#000000',
  },
}
SCSS
$custom: #2d9126;
$custom-light: #75b267;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9126",
  "rgb": {
    "r": 45,
    "g": 145,
    "b": 38
  },
  "hsl": {
    "h": 116.075,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57767,
    "c": 0.16977,
    "h": 142.2
  },
  "luminance": 0.20949
}

Semantic roles & 50–950 ramp

primary
#2D9126
secondary
#B359BA
accent
#46E2D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D9126

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

Preview Lab → · Contrast checker → · Palette generator →

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