#2D7223#2D7223

#2D7223 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.133 H 141.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2D7223
RGBrgb(45, 114, 35)
HSLhsl(112, 53%, 29%)
HSVhsv(112, 69%, 45%)
CMYKcmyk(60.5%, 0%, 69.3%, 55.3%)
CIE-LABlab(42.33, -37.89, 36.06)
CIE-LCHlch(42.33, 52.30, 136.42°)
OKLaboklab(49.02% -0.1035 0.0831)
OKLCHoklch(49.02% 0.133 141.2)
XYZxyz(7.4025, 12.7132, 3.6536)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7223 #682372
analogous
#557223 #2D7223 #237241
triadic
#2D7223 #232D72 #72232D
tetradic
#2D7223 #235572 #682372 #724123
square
#2D7223 #235572 #682372 #724123
split-complementary
#2D7223 #412372 #722355
monochromatic
#091707 #1B4315 #2D7223 #3FA131 #58C748

Accessibility & contrast

On white

5.93
#2D7223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2D7223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7223
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7223#FFFFFF#000000##FFFFFF
##2D72231.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756719
Deuteranopia (green-blind)
#6C622A
Tritanopia (blue-blind)
#236E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d7223;
/* rgb */ color: rgb(45, 114, 35);
/* oklch */ color: oklch(49.0% 0.133 141.2);
Tailwind
colors: {
  custom: {
    50: '#6e9b62',
    500: '#2d7223',
    950: '#000000',
  },
}
SCSS
$custom: #2d7223;
$custom-light: #6e9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7223",
  "rgb": {
    "r": 45,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 112.405,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49022,
    "c": 0.13275,
    "h": 141.2
  },
  "luminance": 0.12714
}

Semantic roles & 50–950 ramp

primary
#2D7223
secondary
#9A4CA5
accent
#4BDCCA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D7223

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

Preview Lab → · Contrast checker → · Palette generator →

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