#2D7C22#2D7C22

#2D7C22 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.147 H 141.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2D7C22
RGBrgb(45, 124, 34)
HSLhsl(113, 57%, 31%)
HSVhsv(113, 73%, 49%)
CMYKcmyk(63.7%, 0%, 72.6%, 51.4%)
CIE-LABlab(45.75, -41.90, 40.14)
CIE-LCHlch(45.75, 58.02, 136.24°)
OKLaboklab(51.85% -0.1144 0.0915)
OKLCHoklch(51.85% 0.147 141.3)
XYZxyz(8.5781, 15.0879, 3.9733)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7C22 #71227C
analogous
#5A7C22 #2D7C22 #227C44
triadic
#2D7C22 #222D7C #7C222D
tetradic
#2D7C22 #225A7C #71227C #7C4422
square
#2D7C22 #225A7C #71227C #7C4422
split-complementary
#2D7C22 #44227C #7C225A
monochromatic
#0A1C08 #1C4C15 #2D7C22 #3EAC2F #5BCE4B

Accessibility & contrast

On white

5.23
#2D7C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2D7C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7C22
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7C22#FFFFFF#000000##FFFFFF
##2D7C221.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7014
Deuteranopia (green-blind)
#756A2B
Tritanopia (blue-blind)
#20786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7c22;
/* rgb */ color: rgb(45, 124, 34);
/* oklch */ color: oklch(51.8% 0.147 141.3);
Tailwind
colors: {
  custom: {
    50: '#70a363',
    500: '#2d7c22',
    950: '#000000',
  },
}
SCSS
$custom: #2d7c22;
$custom-light: #70a363;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7c22",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 112.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51849,
    "c": 0.14656,
    "h": 141.3
  },
  "luminance": 0.15089
}

Semantic roles & 50–950 ramp

primary
#2D7C22
secondary
#A34BAF
accent
#48E0CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2D7C22

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

Preview Lab → · Contrast checker → · Palette generator →

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