#2E751B#2E751B

#2E751B is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.142 H 139.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2E751B
RGBrgb(46, 117, 27)
HSLhsl(107, 63%, 28%)
HSVhsv(107, 77%, 46%)
CMYKcmyk(60.7%, 0%, 76.9%, 54.1%)
CIE-LABlab(43.33, -39.53, 40.48)
CIE-LCHlch(43.33, 56.58, 134.32°)
OKLaboklab(49.84% -0.1085 0.0913)
OKLCHoklch(49.84% 0.142 139.9)
XYZxyz(7.6855, 13.3819, 3.2147)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E751B #621B75
analogous
#5B751B #2E751B #1B7535
triadic
#2E751B #1B2E75 #751B2E
tetradic
#2E751B #1B5B75 #621B75 #75351B
square
#2E751B #1B5B75 #621B75 #75351B
split-complementary
#2E751B #351B75 #751B5B
monochromatic
#0A1906 #1A4310 #2E751B #42A726 #59D139

Accessibility & contrast

On white

5.71
#2E751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#2E751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E751B
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E751B#FFFFFF#000000##FFFFFF
##2E751B1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A09
Deuteranopia (green-blind)
#706424
Tritanopia (blue-blind)
#257164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2e751b;
/* rgb */ color: rgb(46, 117, 27);
/* oklch */ color: oklch(49.8% 0.142 139.9);
Tailwind
colors: {
  custom: {
    50: '#709d5e',
    500: '#2e751b',
    950: '#000000',
  },
}
SCSS
$custom: #2e751b;
$custom-light: #709d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e751b",
  "rgb": {
    "r": 46,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 107.333,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49841,
    "c": 0.14181,
    "h": 139.9
  },
  "luminance": 0.13383
}

Semantic roles & 50–950 ramp

primary
#2E751B
secondary
#9442A9
accent
#42E6C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2E751B

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

Preview Lab → · Contrast checker → · Palette generator →

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