#2D9222#2D9222

#2D9222 is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.0% C 0.173 H 141.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2D9222
RGBrgb(45, 146, 34)
HSLhsl(114, 62%, 35%)
HSVhsv(114, 77%, 57%)
CMYKcmyk(69.2%, 0%, 76.7%, 42.7%)
CIE-LABlab(53.20, -49.91, 47.71)
CIE-LCHlch(53.20, 69.04, 136.29°)
OKLaboklab(58.01% -0.1361 0.1074)
OKLCHoklch(58.01% 0.173 141.7)
XYZxyz(11.6492, 21.2299, 4.9969)
Luminance0.2123 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9222 #872292
analogous
#659222 #2D9222 #22924F
triadic
#2D9222 #222D92 #92222D
tetradic
#2D9222 #226592 #872292 #924F22
square
#2D9222 #226592 #872292 #924F22
split-complementary
#2D9222 #4F2292 #922265
monochromatic
#0E2F0B #1E6016 #2D9222 #3CC42E #63D857

Accessibility & contrast

On white

4.00
#2D9222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#2D9222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9222
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9222#FFFFFF#000000##000000
##2D92221.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840A
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#168D7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2d9222;
/* rgb */ color: rgb(45, 146, 34);
/* oklch */ color: oklch(58.0% 0.173 141.7);
Tailwind
colors: {
  custom: {
    50: '#75b365',
    500: '#2d9222',
    950: '#000000',
  },
}
SCSS
$custom: #2d9222;
$custom-light: #75b365;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9222",
  "rgb": {
    "r": 45,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 114.107,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58014,
    "c": 0.17335,
    "h": 141.7
  },
  "luminance": 0.21231
}

Semantic roles & 50–950 ramp

primary
#2D9222
secondary
#B254BC
accent
#43E5D5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2D9222

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

Preview Lab → · Contrast checker → · Palette generator →

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