#2D7820#2D7820

#2D7820 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.143 H 140.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#2D7820
RGBrgb(45, 120, 32)
HSLhsl(111, 58%, 30%)
HSVhsv(111, 73%, 47%)
CMYKcmyk(62.5%, 0%, 73.3%, 52.9%)
CIE-LABlab(44.37, -40.55, 39.52)
CIE-LCHlch(44.37, 56.62, 135.73°)
OKLaboklab(50.7% -0.1109 0.09)
OKLCHoklch(50.7% 0.143 140.9)
XYZxyz(8.0590, 14.0944, 3.6620)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7820 #6B2078
analogous
#597820 #2D7820 #20783F
triadic
#2D7820 #202D78 #78202D
tetradic
#2D7820 #205978 #6B2078 #783F20
square
#2D7820 #205978 #6B2078 #783F20
split-complementary
#2D7820 #3F2078 #782059
monochromatic
#091806 #1B4813 #2D7820 #3FA82D #59CD45

Accessibility & contrast

On white

5.50
#2D7820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2D7820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7820
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7820#FFFFFF#000000##FFFFFF
##2D78201.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D12
Deuteranopia (green-blind)
#726729
Tritanopia (blue-blind)
#227467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2d7820;
/* rgb */ color: rgb(45, 120, 32);
/* oklch */ color: oklch(50.7% 0.143 140.9);
Tailwind
colors: {
  custom: {
    50: '#70a061',
    500: '#2d7820',
    950: '#000000',
  },
}
SCSS
$custom: #2d7820;
$custom-light: #70a061;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7820",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 32
  },
  "hsl": {
    "h": 111.136,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50698,
    "c": 0.14282,
    "h": 140.9
  },
  "luminance": 0.14095
}

Semantic roles & 50–950 ramp

primary
#2D7820
secondary
#9D48AB
accent
#47E1CA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2D7820

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

Preview Lab → · Contrast checker → · Palette generator →

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