#2E7B14#2E7B14

#2E7B14 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.153 H 139.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2E7B14
RGBrgb(46, 123, 20)
HSLhsl(105, 72%, 28%)
HSVhsv(105, 84%, 48%)
CMYKcmyk(62.6%, 0%, 83.7%, 51.8%)
CIE-LABlab(45.35, -42.31, 44.85)
CIE-LCHlch(45.35, 61.66, 133.33°)
OKLaboklab(51.5% -0.1164 0.0993)
OKLCHoklch(51.5% 0.153 139.5)
XYZxyz(8.3356, 14.7965, 3.0784)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B14 #61147B
analogous
#617B14 #2E7B14 #147B2D
triadic
#2E7B14 #142E7B #7B142E
tetradic
#2E7B14 #14617B #61147B #7B2D14
square
#2E7B14 #14617B #61147B #7B2D14
split-complementary
#2E7B14 #2D147B #7B1461
monochromatic
#0A1A04 #1A460B #2E7B14 #42B01D #59DD2D

Accessibility & contrast

On white

5.30
#2E7B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2E7B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7B14
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7B14#FFFFFF#000000##FFFFFF
##2E7B141.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#247768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7b14;
/* rgb */ color: rgb(46, 123, 20);
/* oklch */ color: oklch(51.5% 0.153 139.5);
Tailwind
colors: {
  custom: {
    50: '#71a25c',
    500: '#2e7b14',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b14;
$custom-light: #71a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b14",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 104.854,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51499,
    "c": 0.15304,
    "h": 139.5
  },
  "luminance": 0.14797
}

Semantic roles & 50–950 ramp

primary
#2E7B14
secondary
#933AB1
accent
#39EFC1
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2E7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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