#2E731D#2E731D

#2E731D is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.138 H 140.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2E731D
RGBrgb(46, 115, 29)
HSLhsl(108, 60%, 28%)
HSVhsv(108, 75%, 45%)
CMYKcmyk(60%, 0%, 74.8%, 54.9%)
CIE-LABlab(42.66, -38.58, 39.01)
CIE-LCHlch(42.66, 54.86, 134.68°)
OKLaboklab(49.29% -0.1058 0.0885)
OKLCHoklch(49.29% 0.138 140.1)
XYZxyz(7.4789, 12.9304, 3.2639)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E731D #621D73
analogous
#59731D #2E731D #1D7337
triadic
#2E731D #1D2E73 #731D2E
tetradic
#2E731D #1D5973 #621D73 #73371D
square
#2E731D #1D5973 #621D73 #73371D
split-complementary
#2E731D #371D73 #731D59
monochromatic
#0A1806 #1A4211 #2E731D #42A429 #59CE3C

Accessibility & contrast

On white

5.86
#2E731D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2E731D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E731D
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E731D#FFFFFF#000000##FFFFFF
##2E731D1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76680E
Deuteranopia (green-blind)
#6E6326
Tritanopia (blue-blind)
#266F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e731d;
/* rgb */ color: rgb(46, 115, 29);
/* oklch */ color: oklch(49.3% 0.138 140.1);
Tailwind
colors: {
  custom: {
    50: '#6f9c5f',
    500: '#2e731d',
    950: '#000000',
  },
}
SCSS
$custom: #2e731d;
$custom-light: #6f9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e731d",
  "rgb": {
    "r": 46,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 108.14,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49288,
    "c": 0.13795,
    "h": 140.1
  },
  "luminance": 0.12931
}

Semantic roles & 50–950 ramp

primary
#2E731D
secondary
#9445A7
accent
#45E3C4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2E731D

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

Preview Lab → · Contrast checker → · Palette generator →

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