#2D9022#2D9022

#2D9022 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.171 H 141.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2D9022
RGBrgb(45, 144, 34)
HSLhsl(114, 62%, 35%)
HSVhsv(114, 76%, 56%)
CMYKcmyk(68.7%, 0%, 76.4%, 43.5%)
CIE-LABlab(52.53, -49.21, 47.04)
CIE-LCHlch(52.53, 68.08, 136.29°)
OKLaboklab(57.46% -0.1342 0.106)
OKLCHoklch(57.46% 0.171 141.7)
XYZxyz(11.3436, 20.6187, 4.8951)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9022 #852290
analogous
#649022 #2D9022 #22904E
triadic
#2D9022 #222D90 #90222D
tetradic
#2D9022 #226490 #852290 #904E22
square
#2D9022 #226490 #852290 #904E22
split-complementary
#2D9022 #4E2290 #902264
monochromatic
#0E2D0B #1E5E16 #2D9022 #3CC22E #62D755

Accessibility & contrast

On white

4.10
#2D9022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#2D9022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9022
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9022#FFFFFF#000000##000000
##2D90221.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94820B
Deuteranopia (green-blind)
#887A2E
Tritanopia (blue-blind)
#178B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d9022;
/* rgb */ color: rgb(45, 144, 34);
/* oklch */ color: oklch(57.5% 0.171 141.7);
Tailwind
colors: {
  custom: {
    50: '#75b165',
    500: '#2d9022',
    950: '#000000',
  },
}
SCSS
$custom: #2d9022;
$custom-light: #75b165;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9022",
  "rgb": {
    "r": 45,
    "g": 144,
    "b": 34
  },
  "hsl": {
    "h": 114,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57458,
    "c": 0.171,
    "h": 141.7
  },
  "luminance": 0.2062
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D9022

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

Preview Lab → · Contrast checker → · Palette generator →

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