#2E4707#2E4707

#2E4707 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.4% C 0.092 H 129.6°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2E4707
RGBrgb(46, 71, 7)
HSLhsl(83, 82%, 15%)
HSVhsv(83, 90%, 28%)
CMYKcmyk(35.2%, 0%, 90.1%, 72.2%)
CIE-LABlab(27.03, -20.41, 32.22)
CIE-LCHlch(27.03, 38.14, 122.36°)
OKLaboklab(36.4% -0.0584 0.0706)
OKLCHoklch(36.4% 0.092 129.6)
XYZxyz(3.4183, 5.1026, 1.0058)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4707 #200747
analogous
#474007 #2E4707 #0E4707
triadic
#2E4707 #072E47 #47072E
tetradic
#2E4707 #074740 #200747 #47070E
square
#2E4707 #074740 #200747 #47070E
split-complementary
#2E4707 #070E47 #400747
monochromatic
#121C03 #121C03 #2E4707 #527F0C #76B612

Accessibility & contrast

On white

10.39
#2E4707 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2E4707 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4707
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4707#FFFFFF#000000##FFFFFF
##2E47071.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#473F0E
Tritanopia (blue-blind)
#30433B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e4707;
/* rgb */ color: rgb(46, 71, 7);
/* oklch */ color: oklch(36.4% 0.092 129.6);
Tailwind
colors: {
  custom: {
    50: '#6a7a4d',
    500: '#2e4707',
    950: '#000000',
  },
}
SCSS
$custom: #2e4707;
$custom-light: #6a7a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4707",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 7
  },
  "hsl": {
    "h": 83.438,
    "s": 82.051,
    "l": 15.294
  },
  "oklch": {
    "l": 0.36404,
    "c": 0.09166,
    "h": 129.6
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

primary
#2E4707
secondary
#4A2486
accent
#2FF87E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2E4707

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

Preview Lab → · Contrast checker → · Palette generator →

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