#2E7D18#2E7D18

#2E7D18 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.153 H 140.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2E7D18
RGBrgb(46, 125, 24)
HSLhsl(107, 68%, 29%)
HSVhsv(107, 81%, 49%)
CMYKcmyk(63.2%, 0%, 80.8%, 51%)
CIE-LABlab(46.06, -42.82, 44.24)
CIE-LCHlch(46.06, 61.56, 134.07°)
OKLaboklab(52.09% -0.1176 0.0987)
OKLCHoklch(52.09% 0.153 140)
XYZxyz(8.6248, 15.3132, 3.3652)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D18 #67187D
analogous
#617D18 #2E7D18 #187D35
triadic
#2E7D18 #182E7D #7D182E
tetradic
#2E7D18 #18617D #67187D #7D3518
square
#2E7D18 #18617D #67187D #7D3518
split-complementary
#2E7D18 #35187D #7D1861
monochromatic
#091A05 #1B4A0E #2E7D18 #41B022 #5AD937

Accessibility & contrast

On white

5.17
#2E7D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2E7D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7D18
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7D18#FFFFFF#000000##FFFFFF
##2E7D181.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#23796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7d18;
/* rgb */ color: rgb(46, 125, 24);
/* oklch */ color: oklch(52.1% 0.153 140.0);
Tailwind
colors: {
  custom: {
    50: '#72a35e',
    500: '#2e7d18',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d18;
$custom-light: #72a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d18",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 106.931,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52089,
    "c": 0.15347,
    "h": 140
  },
  "luminance": 0.15314
}

Semantic roles & 50–950 ramp

primary
#2E7D18
secondary
#993FB2
accent
#3DEBC5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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