#2E7210#2E7210

#2E7210 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.144 H 138.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2E7210
RGBrgb(46, 114, 16)
HSLhsl(102, 75%, 25%)
HSVhsv(102, 86%, 45%)
CMYKcmyk(59.6%, 0%, 86%, 55.3%)
CIE-LABlab(42.23, -39.09, 43.18)
CIE-LCHlch(42.23, 58.24, 132.15°)
OKLaboklab(48.91% -0.108 0.0952)
OKLCHoklch(48.91% 0.144 138.6)
XYZxyz(7.2373, 12.6523, 2.5509)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7210 #541072
analogous
#5F7210 #2E7210 #107223
triadic
#2E7210 #102E72 #72102E
tetradic
#2E7210 #105F72 #541072 #722310
square
#2E7210 #105F72 #541072 #722310
split-complementary
#2E7210 #231072 #72105F
monochromatic
#0B1B04 #183C08 #2E7210 #44A818 #59DD1F

Accessibility & contrast

On white

5.95
#2E7210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2E7210 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7210
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7210#FFFFFF#000000##FFFFFF
##2E72101.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6D621C
Tritanopia (blue-blind)
#276E60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e7210;
/* rgb */ color: rgb(46, 114, 16);
/* oklch */ color: oklch(48.9% 0.144 138.6);
Tailwind
colors: {
  custom: {
    50: '#709b59',
    500: '#2e7210',
    950: '#000000',
  },
}
SCSS
$custom: #2e7210;
$custom-light: #709b59;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7210",
  "rgb": {
    "r": 46,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 101.633,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48914,
    "c": 0.14396,
    "h": 138.6
  },
  "luminance": 0.12653
}

Semantic roles & 50–950 ramp

primary
#2E7210
secondary
#8634A9
accent
#36F2B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7210

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

Preview Lab → · Contrast checker → · Palette generator →

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