#2E4007#2E4007

#2E4007 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.4% C 0.082 H 126.3°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#2E4007
RGBrgb(46, 64, 7)
HSLhsl(79, 80%, 14%)
HSVhsv(79, 89%, 25%)
CMYKcmyk(28.1%, 0%, 89.1%, 74.9%)
CIE-LABlab(24.52, -16.68, 29.90)
CIE-LCHlch(24.52, 34.23, 119.15°)
OKLaboklab(34.37% -0.0483 0.0658)
OKLCHoklch(34.37% 0.082 126.3)
XYZxyz(2.9985, 4.2629, 0.8658)
Luminance0.0426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4007 #190740
analogous
#403607 #2E4007 #124007
triadic
#2E4007 #072E40 #40072E
tetradic
#2E4007 #074036 #190740 #400712
square
#2E4007 #074036 #190740 #400712
split-complementary
#2E4007 #071240 #360740
monochromatic
#141C03 #141C03 #2E4007 #56770D #7DAE13

Accessibility & contrast

On white

11.34
#2E4007 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2E4007 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4007
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4007#FFFFFF#000000##FFFFFF
##2E40071.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#423A0D
Tritanopia (blue-blind)
#303C35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e4007;
/* rgb */ color: rgb(46, 64, 7);
/* oklch */ color: oklch(34.4% 0.082 126.3);
Tailwind
colors: {
  custom: {
    50: '#69754c',
    500: '#2e4007',
    950: '#000000',
  },
}
SCSS
$custom: #2e4007;
$custom-light: #69754c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4007",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 7
  },
  "hsl": {
    "h": 78.947,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34369,
    "c": 0.08164,
    "h": 126.3
  },
  "luminance": 0.04263
}

Semantic roles & 50–950 ramp

primary
#2E4007
secondary
#41247F
accent
#31F76F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2E4007

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

Preview Lab → · Contrast checker → · Palette generator →

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