#2E4706#2E4706

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

Color values

HEX#2E4706
RGBrgb(46, 71, 6)
HSLhsl(83, 84%, 15%)
HSVhsv(83, 92%, 28%)
CMYKcmyk(35.2%, 0%, 91.5%, 72.2%)
CIE-LABlab(27.02, -20.47, 32.61)
CIE-LCHlch(27.02, 38.51, 122.12°)
OKLaboklab(36.4% -0.0587 0.0712)
OKLCHoklch(36.4% 0.092 129.5)
XYZxyz(3.4128, 5.1004, 0.9769)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4706 #1F0647
analogous
#474006 #2E4706 #0D4706
triadic
#2E4706 #062E47 #47062E
tetradic
#2E4706 #064740 #1F0647 #47060D
square
#2E4706 #064740 #1F0647 #47060D
split-complementary
#2E4706 #060D47 #400647
monochromatic
#121C02 #121C02 #2E4706 #537F0B #77B810

Accessibility & contrast

On white

10.40
#2E4706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4706
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4706#FFFFFF#000000##FFFFFF
##2E47061.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4706;
/* rgb */ color: rgb(46, 71, 6);
/* oklch */ color: oklch(36.4% 0.092 129.5);
Tailwind
colors: {
  custom: {
    50: '#6a7a4d',
    500: '#2e4706',
    950: '#000000',
  },
}
SCSS
$custom: #2e4706;
$custom-light: #6a7a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4706",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 6
  },
  "hsl": {
    "h": 83.077,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.36397,
    "c": 0.09228,
    "h": 129.5
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

primary
#2E4706
secondary
#492386
accent
#2DFB7C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #2E4706

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

Preview Lab → · Contrast checker → · Palette generator →

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