#2D9128#2D9128

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

Color values

HEX#2D9128
RGBrgb(45, 145, 40)
HSLhsl(117, 57%, 36%)
HSVhsv(117, 72%, 57%)
CMYKcmyk(69%, 0%, 72.4%, 43.1%)
CIE-LABlab(52.91, -49.07, 45.13)
CIE-LCHlch(52.91, 66.67, 137.39°)
OKLaboklab(57.78% -0.1335 0.1028)
OKLCHoklch(57.78% 0.168 142.4)
XYZxyz(11.5899, 20.9607, 5.4421)
Luminance0.2096 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9128 #8C2891
analogous
#629128 #2D9128 #289158
triadic
#2D9128 #282D91 #91282D
tetradic
#2D9128 #286291 #8C2891 #915828
square
#2D9128 #286291 #8C2891 #915828
split-complementary
#2D9128 #582891 #912862
monochromatic
#0F310E #1E611B #2D9128 #3CC135 #66D360

Accessibility & contrast

On white

4.04
#2D9128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D9128#FFFFFF#000000##000000
##2D91281.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d9128;
/* rgb */ color: rgb(45, 145, 40);
/* oklch */ color: oklch(57.8% 0.168 142.4);
Tailwind
colors: {
  custom: {
    50: '#75b268',
    500: '#2d9128',
    950: '#000000',
  },
}
SCSS
$custom: #2d9128;
$custom-light: #75b268;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9128",
  "rgb": {
    "r": 45,
    "g": 145,
    "b": 40
  },
  "hsl": {
    "h": 117.143,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57784,
    "c": 0.16849,
    "h": 142.4
  },
  "luminance": 0.20962
}

Semantic roles & 50–950 ramp

primary
#2D9128
secondary
#B45CB9
accent
#48E0D9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D9128

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

Preview Lab → · Contrast checker → · Palette generator →

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