#2E4606#2E4606

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

Color values

HEX#2E4606
RGBrgb(46, 70, 6)
HSLhsl(83, 84%, 15%)
HSVhsv(83, 91%, 27%)
CMYKcmyk(34.3%, 0%, 91.4%, 72.5%)
CIE-LABlab(26.66, -19.95, 32.29)
CIE-LCHlch(26.66, 37.96, 121.71°)
OKLaboklab(36.11% -0.0573 0.0706)
OKLCHoklch(36.11% 0.091 129.1)
XYZxyz(3.3497, 4.9742, 0.9559)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4606 #1E0646
analogous
#463E06 #2E4606 #0E4606
triadic
#2E4606 #062E46 #46062E
tetradic
#2E4606 #06463E #1E0646 #46060E
square
#2E4606 #06463E #1E0646 #46060E
split-complementary
#2E4606 #060E46 #3E0646
monochromatic
#131C02 #131C02 #2E4606 #537E0B #78B710

Accessibility & contrast

On white

10.53
#2E4606 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2E4606 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4606
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4606#FFFFFF#000000##FFFFFF
##2E46061.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4606;
/* rgb */ color: rgb(46, 70, 6);
/* oklch */ color: oklch(36.1% 0.091 129.1);
Tailwind
colors: {
  custom: {
    50: '#6a794d',
    500: '#2e4606',
    950: '#000000',
  },
}
SCSS
$custom: #2e4606;
$custom-light: #6a794d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4606",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 6
  },
  "hsl": {
    "h": 82.5,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.36106,
    "c": 0.09088,
    "h": 129.1
  },
  "luminance": 0.04974
}

Semantic roles & 50–950 ramp

primary
#2E4606
secondary
#482285
accent
#2DFA7A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #2E4606

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

Preview Lab → · Contrast checker → · Palette generator →

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