#2D7830#2D7830

#2D7830 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.130 H 144.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#2D7830
RGBrgb(45, 120, 48)
HSLhsl(122, 45%, 32%)
HSVhsv(122, 63%, 47%)
CMYKcmyk(62.5%, 0%, 60%, 52.9%)
CIE-LABlab(44.52, -38.77, 32.26)
CIE-LCHlch(44.52, 50.44, 140.23°)
OKLaboklab(50.88% -0.1052 0.0764)
OKLCHoklch(50.88% 0.13 144)
XYZxyz(8.3317, 14.2034, 5.0982)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7830 #782D75
analogous
#50782D #2D7830 #2D7856
triadic
#2D7830 #302D78 #78302D
tetradic
#2D7830 #2D5078 #782D75 #78562D
square
#2D7830 #2D5078 #782D75 #78562D
split-complementary
#2D7830 #562D78 #782D50
monochromatic
#0C1F0C #1C4B1E #2D7830 #3EA542 #5DC261

Accessibility & contrast

On white

5.47
#2D7830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#2D7830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7830
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7830#FFFFFF#000000##FFFFFF
##2D78301.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D29
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#1E7568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2d7830;
/* rgb */ color: rgb(45, 120, 48);
/* oklch */ color: oklch(50.9% 0.130 144.0);
Tailwind
colors: {
  custom: {
    50: '#6fa06b',
    500: '#2d7830',
    950: '#000000',
  },
}
SCSS
$custom: #2d7830;
$custom-light: #6fa06b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7830",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 48
  },
  "hsl": {
    "h": 122.4,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.50877,
    "c": 0.12997,
    "h": 144
  },
  "luminance": 0.14204
}

Semantic roles & 50–950 ramp

primary
#2D7830
secondary
#A958A5
accent
#53D0D5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2D7830

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

Preview Lab → · Contrast checker → · Palette generator →

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