#2E7B18#2E7B18

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

Color values

HEX#2E7B18
RGBrgb(46, 123, 24)
HSLhsl(107, 67%, 29%)
HSVhsv(107, 80%, 48%)
CMYKcmyk(62.6%, 0%, 80.5%, 51.8%)
CIE-LABlab(45.38, -42.06, 43.58)
CIE-LCHlch(45.38, 60.57, 133.99°)
OKLaboklab(51.52% -0.1155 0.0973)
OKLCHoklch(51.52% 0.151 139.9)
XYZxyz(8.3742, 14.8119, 3.2817)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B18 #65187B
analogous
#607B18 #2E7B18 #187B34
triadic
#2E7B18 #182E7B #7B182E
tetradic
#2E7B18 #18607B #65187B #7B3418
square
#2E7B18 #18607B #65187B #7B3418
split-complementary
#2E7B18 #34187B #7B1860
monochromatic
#0A1A05 #1B480E #2E7B18 #41AE22 #5AD836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E7B18#FFFFFF#000000##FFFFFF
##2E7B181.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)
#756923
Tritanopia (blue-blind)
#247769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7b18;
/* rgb */ color: rgb(46, 123, 24);
/* oklch */ color: oklch(51.5% 0.151 139.9);
Tailwind
colors: {
  custom: {
    50: '#71a25d',
    500: '#2e7b18',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b18;
$custom-light: #71a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b18",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 106.667,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51523,
    "c": 0.15103,
    "h": 139.9
  },
  "luminance": 0.14813
}

Semantic roles & 50–950 ramp

primary
#2E7B18
secondary
#973FB0
accent
#3EEAC4
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2E7B18

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

Preview Lab → · Contrast checker → · Palette generator →

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