#2E7030#2E7030

#2E7030 is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.7% C 0.118 H 144.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2E7030
RGBrgb(46, 112, 48)
HSLhsl(122, 42%, 31%)
HSVhsv(122, 59%, 44%)
CMYKcmyk(58.9%, 0%, 57.1%, 56.1%)
CIE-LABlab(41.82, -35.19, 29.07)
CIE-LCHlch(41.82, 45.64, 140.44°)
OKLaboklab(48.66% -0.0955 0.0694)
OKLCHoklch(48.66% 0.118 144)
XYZxyz(7.4540, 12.3819, 4.7929)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7030 #702E6E
analogous
#4D702E #2E7030 #2E7051
triadic
#2E7030 #302E70 #70302E
tetradic
#2E7030 #2E4D70 #702E6E #70512E
square
#2E7030 #2E4D70 #702E6E #70512E
split-complementary
#2E7030 #512E70 #702E4D
monochromatic
#0A190B #1C451D #2E7030 #409B43 #5CBC5F

Accessibility & contrast

On white

6.04
#2E7030 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2E7030 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7030
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7030#FFFFFF#000000##FFFFFF
##2E70301.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72662A
Deuteranopia (green-blind)
#6A6035
Tritanopia (blue-blind)
#236D62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e7030;
/* rgb */ color: rgb(46, 112, 48);
/* oklch */ color: oklch(48.7% 0.118 144.0);
Tailwind
colors: {
  custom: {
    50: '#6e9a6a',
    500: '#2e7030',
    950: '#000000',
  },
}
SCSS
$custom: #2e7030;
$custom-light: #6e9a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7030",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 48
  },
  "hsl": {
    "h": 121.818,
    "s": 41.772,
    "l": 30.98
  },
  "oklch": {
    "l": 0.48657,
    "c": 0.11809,
    "h": 144
  },
  "luminance": 0.12383
}

Semantic roles & 50–950 ramp

primary
#2E7030
secondary
#A1589F
accent
#56CED2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E7030

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

Preview Lab → · Contrast checker → · Palette generator →

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