#2E6823#2E6823

#2E6823 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.2% C 0.118 H 140.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2E6823
RGBrgb(46, 104, 35)
HSLhsl(110, 50%, 27%)
HSVhsv(110, 66%, 41%)
CMYKcmyk(55.8%, 0%, 66.3%, 59.2%)
CIE-LABlab(38.90, -33.44, 32.30)
CIE-LCHlch(38.90, 46.50, 135.99°)
OKLaboklab(46.21% -0.0915 0.0751)
OKLCHoklch(46.21% 0.118 140.6)
XYZxyz(6.3801, 10.6023, 3.3000)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6823 #5D2368
analogous
#506823 #2E6823 #23683B
triadic
#2E6823 #232E68 #68232E
tetradic
#2E6823 #235068 #5D2368 #683B23
square
#2E6823 #235068 #5D2368 #683B23
split-complementary
#2E6823 #3B2368 #682350
monochromatic
#0A1708 #1A3A14 #2E6823 #429632 #59C045

Accessibility & contrast

On white

6.73
#2E6823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2E6823 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6823
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6823#FFFFFF#000000##FFFFFF
##2E68231.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F1B
Deuteranopia (green-blind)
#635A29
Tritanopia (blue-blind)
#276559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e6823;
/* rgb */ color: rgb(46, 104, 35);
/* oklch */ color: oklch(46.2% 0.118 140.6);
Tailwind
colors: {
  custom: {
    50: '#6d9461',
    500: '#2e6823',
    950: '#000000',
  },
}
SCSS
$custom: #2e6823;
$custom-light: #6d9461;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6823",
  "rgb": {
    "r": 46,
    "g": 104,
    "b": 35
  },
  "hsl": {
    "h": 110.435,
    "s": 49.64,
    "l": 27.255
  },
  "oklch": {
    "l": 0.4621,
    "c": 0.11843,
    "h": 140.6
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

primary
#2E6823
secondary
#8F4B9B
accent
#4FD9C3
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2E6823

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

Preview Lab → · Contrast checker → · Palette generator →

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