#2E731B#2E731B

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

Color values

HEX#2E731B
RGBrgb(46, 115, 27)
HSLhsl(107, 62%, 28%)
HSVhsv(107, 77%, 45%)
CMYKcmyk(60%, 0%, 76.5%, 54.9%)
CIE-LABlab(42.64, -38.75, 39.79)
CIE-LCHlch(42.64, 55.54, 134.24°)
OKLaboklab(49.27% -0.1064 0.0898)
OKLCHoklch(49.27% 0.139 139.8)
XYZxyz(7.4550, 12.9208, 3.1378)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E731B #601B73
analogous
#5A731B #2E731B #1B7334
triadic
#2E731B #1B2E73 #731B2E
tetradic
#2E731B #1B5A73 #601B73 #73341B
square
#2E731B #1B5A73 #601B73 #73341B
split-complementary
#2E731B #341B73 #731B5A
monochromatic
#0A1906 #1A410F #2E731B #42A527 #59D038

Accessibility & contrast

On white

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

On black

3.58
#2E731B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2E731B#FFFFFF#000000##FFFFFF
##2E731B1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e731b;
/* rgb */ color: rgb(46, 115, 27);
/* oklch */ color: oklch(49.3% 0.139 139.8);
Tailwind
colors: {
  custom: {
    50: '#6f9c5e',
    500: '#2e731b',
    950: '#000000',
  },
}
SCSS
$custom: #2e731b;
$custom-light: #6f9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e731b",
  "rgb": {
    "r": 46,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 107.045,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49272,
    "c": 0.13926,
    "h": 139.8
  },
  "luminance": 0.12921
}

Semantic roles & 50–950 ramp

primary
#2E731B
secondary
#9242A8
accent
#43E5C2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2E731B

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

Preview Lab → · Contrast checker → · Palette generator →

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