#2D9122#2D9122

#2D9122 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.7% C 0.172 H 141.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2D9122
RGBrgb(45, 145, 34)
HSLhsl(114, 62%, 35%)
HSVhsv(114, 77%, 57%)
CMYKcmyk(69%, 0%, 76.6%, 43.1%)
CIE-LABlab(52.87, -49.56, 47.37)
CIE-LCHlch(52.87, 68.56, 136.29°)
OKLaboklab(57.74% -0.1352 0.1067)
OKLCHoklch(57.74% 0.172 141.7)
XYZxyz(11.4957, 20.9230, 4.9458)
Luminance0.2092 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9122 #862291
analogous
#649122 #2D9122 #22914E
triadic
#2D9122 #222D91 #91222D
tetradic
#2D9122 #226491 #862291 #914E22
square
#2D9122 #226491 #862291 #914E22
split-complementary
#2D9122 #4E2291 #912264
monochromatic
#0E2E0B #1E5F16 #2D9122 #3CC32E #63D756

Accessibility & contrast

On white

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

On black

5.18
#2D9122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9122
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9122#FFFFFF#000000##000000
##2D91221.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830A
Deuteranopia (green-blind)
#897B2E
Tritanopia (blue-blind)
#178C7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2d9122;
/* rgb */ color: rgb(45, 145, 34);
/* oklch */ color: oklch(57.7% 0.172 141.7);
Tailwind
colors: {
  custom: {
    50: '#75b265',
    500: '#2d9122',
    950: '#000000',
  },
}
SCSS
$custom: #2d9122;
$custom-light: #75b265;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9122",
  "rgb": {
    "r": 45,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 114.054,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57736,
    "c": 0.17218,
    "h": 141.7
  },
  "luminance": 0.20924
}

Semantic roles & 50–950 ramp

primary
#2D9122
secondary
#B153BB
accent
#43E5D5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D9122

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

Preview Lab → · Contrast checker → · Palette generator →

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