#2E7F1B#2E7F1B

#2E7F1B is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.154 H 140.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2E7F1B
RGBrgb(46, 127, 27)
HSLhsl(109, 65%, 30%)
HSVhsv(109, 79%, 50%)
CMYKcmyk(63.8%, 0%, 78.7%, 50.2%)
CIE-LABlab(46.76, -43.36, 43.88)
CIE-LCHlch(46.76, 61.68, 134.66°)
OKLaboklab(52.68% -0.1188 0.0984)
OKLCHoklch(52.68% 0.154 140.4)
XYZxyz(8.9135, 15.8379, 3.6240)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7F1B #6C1B7F
analogous
#607F1B #2E7F1B #1B7F3A
triadic
#2E7F1B #1B2E7F #7F1B2E
tetradic
#2E7F1B #1B607F #6C1B7F #7F3A1B
square
#2E7F1B #1B607F #6C1B7F #7F3A1B
split-complementary
#2E7F1B #3A1B7F #7F1B60
monochromatic
#091A06 #1C4D10 #2E7F1B #40B126 #5BD63E

Accessibility & contrast

On white

5.04
#2E7F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2E7F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7F1B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7F1B#FFFFFF#000000##FFFFFF
##2E7F1B1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837304
Deuteranopia (green-blind)
#796C26
Tritanopia (blue-blind)
#227B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e7f1b;
/* rgb */ color: rgb(46, 127, 27);
/* oklch */ color: oklch(52.7% 0.154 140.4);
Tailwind
colors: {
  custom: {
    50: '#72a55f',
    500: '#2e7f1b',
    950: '#000000',
  },
}
SCSS
$custom: #2e7f1b;
$custom-light: #72a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7f1b",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 108.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52675,
    "c": 0.15427,
    "h": 140.4
  },
  "luminance": 0.15839
}

Semantic roles & 50–950 ramp

primary
#2E7F1B
secondary
#9E43B3
accent
#40E8C8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E7F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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