#2E4608#2E4608

#2E4608 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.1% C 0.090 H 129.3°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#2E4608
RGBrgb(46, 70, 8)
HSLhsl(83, 79%, 15%)
HSVhsv(83, 89%, 27%)
CMYKcmyk(34.3%, 0%, 88.6%, 72.5%)
CIE-LABlab(26.67, -19.83, 31.50)
CIE-LCHlch(26.67, 37.22, 122.19°)
OKLaboklab(36.12% -0.0568 0.0693)
OKLCHoklch(36.12% 0.09 129.3)
XYZxyz(3.3607, 4.9786, 1.0136)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4608 #200846
analogous
#463F08 #2E4608 #0F4608
triadic
#2E4608 #082E46 #46082E
tetradic
#2E4608 #08463F #200846 #46080F
square
#2E4608 #08463F #200846 #46080F
split-complementary
#2E4608 #080F46 #3F0846
monochromatic
#121B03 #121B03 #2E4608 #527D0E #76B415

Accessibility & contrast

On white

10.52
#2E4608 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E4608 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4608
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4608#FFFFFF#000000##FFFFFF
##2E46081.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#473F0F
Tritanopia (blue-blind)
#30423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e4608;
/* rgb */ color: rgb(46, 70, 8);
/* oklch */ color: oklch(36.1% 0.090 129.3);
Tailwind
colors: {
  custom: {
    50: '#6a794e',
    500: '#2e4608',
    950: '#000000',
  },
}
SCSS
$custom: #2e4608;
$custom-light: #6a794e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4608",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 8
  },
  "hsl": {
    "h": 83.226,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.3612,
    "c": 0.0896,
    "h": 129.3
  },
  "luminance": 0.04979
}

Semantic roles & 50–950 ramp

primary
#2E4608
secondary
#4A2684
accent
#32F67E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2E4608

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

Preview Lab → · Contrast checker → · Palette generator →

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