#2E7F10#2E7F10

#2E7F10 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.159 H 139.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2E7F10
RGBrgb(46, 127, 16)
HSLhsl(104, 78%, 28%)
HSVhsv(104, 87%, 50%)
CMYKcmyk(63.8%, 0%, 87.4%, 50.2%)
CIE-LABlab(46.71, -44.01, 47.21)
CIE-LCHlch(46.71, 64.54, 132.99°)
OKLaboklab(52.61% -0.1212 0.1037)
OKLCHoklch(52.61% 0.159 139.4)
XYZxyz(8.8092, 15.7962, 3.0748)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7F10 #61107F
analogous
#657F10 #2E7F10 #107F2A
triadic
#2E7F10 #102E7F #7F102E
tetradic
#2E7F10 #10657F #61107F #7F2A10
square
#2E7F10 #10657F #61107F #7F2A10
split-complementary
#2E7F10 #2A107F #7F1065
monochromatic
#0A1B03 #1A4909 #2E7F10 #42B517 #59E426

Accessibility & contrast

On white

5.05
#2E7F10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2E7F10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7F10
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7F10#FFFFFF#000000##FFFFFF
##2E7F101.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#237A6B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e7f10;
/* rgb */ color: rgb(46, 127, 16);
/* oklch */ color: oklch(52.6% 0.159 139.4);
Tailwind
colors: {
  custom: {
    50: '#72a55b',
    500: '#2e7f10',
    950: '#000000',
  },
}
SCSS
$custom: #2e7f10;
$custom-light: #72a55b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7f10",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 16
  },
  "hsl": {
    "h": 103.784,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52612,
    "c": 0.15949,
    "h": 139.4
  },
  "luminance": 0.15797
}

Semantic roles & 50–950 ramp

primary
#2E7F10
secondary
#9336B5
accent
#34F4C0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2E7F10

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

Preview Lab → · Contrast checker → · Palette generator →

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