#2E5022#2E5022

#2E5022 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.3% C 0.083 H 138.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2E5022
RGBrgb(46, 80, 34)
HSLhsl(104, 40%, 22%)
HSVhsv(104, 58%, 31%)
CMYKcmyk(42.5%, 0%, 57.5%, 68.6%)
CIE-LABlab(30.48, -22.41, 23.07)
CIE-LCHlch(30.48, 32.16, 134.16°)
OKLaboklab(39.31% -0.0615 0.0551)
OKLCHoklch(39.31% 0.083 138.2)
XYZxyz(4.2840, 6.4334, 2.5291)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5022 #442250
analogous
#455022 #2E5022 #22502D
triadic
#2E5022 #222E50 #50222E
tetradic
#2E5022 #224550 #442250 #502D22
square
#2E5022 #224550 #442250 #502D22
split-complementary
#2E5022 #2D2250 #502245
monochromatic
#0C1509 #152510 #2E5022 #477B34 #5FA647

Accessibility & contrast

On white

9.18
#2E5022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2E5022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5022
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5022#FFFFFF#000000##FFFFFF
##2E50221.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A1E
Deuteranopia (green-blind)
#4E4725
Tritanopia (blue-blind)
#2C4D46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e5022;
/* rgb */ color: rgb(46, 80, 34);
/* oklch */ color: oklch(39.3% 0.083 138.2);
Tailwind
colors: {
  custom: {
    50: '#69815e',
    500: '#2e5022',
    950: '#000000',
  },
}
SCSS
$custom: #2e5022;
$custom-light: #69815e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5022",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 34
  },
  "hsl": {
    "h": 104.348,
    "s": 40.351,
    "l": 22.353
  },
  "oklch": {
    "l": 0.39305,
    "c": 0.08262,
    "h": 138.2
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#2E5022
secondary
#754A84
accent
#58D0B1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2E5022

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

Preview Lab → · Contrast checker → · Palette generator →

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