#2E701B#2E701B

#2E701B is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.135 H 139.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2E701B
RGBrgb(46, 112, 27)
HSLhsl(107, 61%, 27%)
HSVhsv(107, 76%, 44%)
CMYKcmyk(58.9%, 0%, 75.9%, 56.1%)
CIE-LABlab(41.61, -37.55, 38.74)
CIE-LCHlch(41.61, 53.95, 134.10°)
OKLaboklab(48.42% -0.1032 0.0876)
OKLCHoklch(48.42% 0.135 139.7)
XYZxyz(7.1184, 12.2477, 3.0256)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E701B #5D1B70
analogous
#59701B #2E701B #1B7032
triadic
#2E701B #1B2E70 #701B2E
tetradic
#2E701B #1B5970 #5D1B70 #70321B
square
#2E701B #1B5970 #5D1B70 #70321B
split-complementary
#2E701B #321B70 #701B59
monochromatic
#0A1906 #1A3F0F #2E701B #42A127 #59CF37

Accessibility & contrast

On white

6.09
#2E701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E701B
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E701B#FFFFFF#000000##FFFFFF
##2E701B1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73660C
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#276C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e701b;
/* rgb */ color: rgb(46, 112, 27);
/* oklch */ color: oklch(48.4% 0.135 139.7);
Tailwind
colors: {
  custom: {
    50: '#6f9a5d',
    500: '#2e701b',
    950: '#000000',
  },
}
SCSS
$custom: #2e701b;
$custom-light: #6f9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e701b",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 106.588,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48416,
    "c": 0.13538,
    "h": 139.7
  },
  "luminance": 0.12248
}

Semantic roles & 50–950 ramp

primary
#2E701B
secondary
#8F42A5
accent
#44E4C0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E701B

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

Preview Lab → · Contrast checker → · Palette generator →

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