#2E9D1F#2E9D1F

#2E9D1F is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.1% C 0.187 H 141.5°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2E9D1F
RGBrgb(46, 157, 31)
HSLhsl(113, 67%, 37%)
HSVhsv(113, 80%, 62%)
CMYKcmyk(70.7%, 0%, 80.3%, 38.4%)
CIE-LABlab(56.87, -53.68, 52.28)
CIE-LCHlch(56.87, 74.93, 135.76°)
OKLaboklab(61.06% -0.1465 0.1165)
OKLCHoklch(61.06% 0.187 141.5)
XYZxyz(13.4303, 24.7923, 5.3737)
Luminance0.2479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E9D1F #8E1F9D
analogous
#6D9D1F #2E9D1F #1F9D4F
triadic
#2E9D1F #1F2E9D #9D1F2E
tetradic
#2E9D1F #1F6D9D #8E1F9D #9D4F1F
square
#2E9D1F #1F6D9D #8E1F9D #9D4F1F
split-complementary
#2E9D1F #4F1F9D #9D1F6D
monochromatic
#10370B #1F6A15 #2E9D1F #3DD029 #68DE58

Accessibility & contrast

On white

3.52
#2E9D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#2E9D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E9D1F
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E9D1F#FFFFFF#000000##000000
##2E9D1F1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#129886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2e9d1f;
/* rgb */ color: rgb(46, 157, 31);
/* oklch */ color: oklch(61.1% 0.187 141.5);
Tailwind
colors: {
  custom: {
    50: '#78bb66',
    500: '#2e9d1f',
    950: '#000000',
  },
}
SCSS
$custom: #2e9d1f;
$custom-light: #78bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#2e9d1f",
  "rgb": {
    "r": 46,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 112.857,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61062,
    "c": 0.18714,
    "h": 141.5
  },
  "luminance": 0.24794
}

Semantic roles & 50–950 ramp

primary
#2E9D1F
secondary
#B556C2
accent
#3EEAD5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2E9D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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