#2D7930#2D7930

#2D7930 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.2% C 0.131 H 144.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2D7930
RGBrgb(45, 121, 48)
HSLhsl(122, 46%, 33%)
HSVhsv(122, 63%, 47%)
CMYKcmyk(62.8%, 0%, 60.3%, 52.5%)
CIE-LABlab(44.86, -39.17, 32.66)
CIE-LCHlch(44.86, 51.00, 140.17°)
OKLaboklab(51.16% -0.1063 0.0772)
OKLCHoklch(51.16% 0.131 144)
XYZxyz(8.4526, 14.4452, 5.1385)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7930 #792D76
analogous
#50792D #2D7930 #2D7956
triadic
#2D7930 #302D79 #79302D
tetradic
#2D7930 #2D5079 #792D76 #79562D
square
#2D7930 #2D5079 #792D76 #79562D
split-complementary
#2D7930 #562D79 #792D50
monochromatic
#0C200D #1C4C1E #2D7930 #3EA642 #5DC361

Accessibility & contrast

On white

5.40
#2D7930 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2D7930 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7930
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7930#FFFFFF#000000##FFFFFF
##2D79301.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E29
Deuteranopia (green-blind)
#726836
Tritanopia (blue-blind)
#1E7669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d7930;
/* rgb */ color: rgb(45, 121, 48);
/* oklch */ color: oklch(51.2% 0.131 144.0);
Tailwind
colors: {
  custom: {
    50: '#6fa06b',
    500: '#2d7930',
    950: '#000000',
  },
}
SCSS
$custom: #2d7930;
$custom-light: #6fa06b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7930",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 48
  },
  "hsl": {
    "h": 122.368,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51158,
    "c": 0.13136,
    "h": 144
  },
  "luminance": 0.14446
}

Semantic roles & 50–950 ramp

primary
#2D7930
secondary
#A958A6
accent
#52D0D5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2D7930

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

Preview Lab → · Contrast checker → · Palette generator →

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