#2E7020#2E7020

#2E7020 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.132 H 140.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2E7020
RGBrgb(46, 112, 32)
HSLhsl(110, 56%, 28%)
HSVhsv(110, 71%, 44%)
CMYKcmyk(58.9%, 0%, 71.4%, 56.1%)
CIE-LABlab(41.65, -37.10, 36.68)
CIE-LCHlch(41.65, 52.17, 135.33°)
OKLaboklab(48.46% -0.1016 0.084)
OKLCHoklch(48.46% 0.132 140.4)
XYZxyz(7.1813, 12.2729, 3.3567)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7020 #622070
analogous
#567020 #2E7020 #20703A
triadic
#2E7020 #202E70 #70202E
tetradic
#2E7020 #205670 #622070 #703A20
square
#2E7020 #205670 #622070 #703A20
split-complementary
#2E7020 #3A2070 #702056
monochromatic
#0A1807 #1A4012 #2E7020 #42A02E #59C942

Accessibility & contrast

On white

6.08
#2E7020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2E7020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7020
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7020#FFFFFF#000000##FFFFFF
##2E70201.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736615
Deuteranopia (green-blind)
#6B6027
Tritanopia (blue-blind)
#266C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e7020;
/* rgb */ color: rgb(46, 112, 32);
/* oklch */ color: oklch(48.5% 0.132 140.4);
Tailwind
colors: {
  custom: {
    50: '#6f9a60',
    500: '#2e7020',
    950: '#000000',
  },
}
SCSS
$custom: #2e7020;
$custom-light: #6f9a60;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7020",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 32
  },
  "hsl": {
    "h": 109.5,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48461,
    "c": 0.13186,
    "h": 140.4
  },
  "luminance": 0.12273
}

Semantic roles & 50–950 ramp

primary
#2E7020
secondary
#9448A4
accent
#49DFC5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2E7020

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

Preview Lab → · Contrast checker → · Palette generator →

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