#2E3906#2E3906

#2E3906 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.3% C 0.072 H 121.5°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#2E3906
RGBrgb(46, 57, 6)
HSLhsl(73, 81%, 12%)
HSVhsv(73, 89%, 22%)
CMYKcmyk(19.3%, 0%, 89.5%, 77.6%)
CIE-LABlab(22.02, -12.77, 27.75)
CIE-LCHlch(22.02, 30.55, 114.71°)
OKLaboklab(32.34% -0.0378 0.0617)
OKLCHoklch(32.34% 0.072 121.5)
XYZxyz(2.6228, 3.5202, 0.7136)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3906 #110639
analogous
#392B06 #2E3906 #153906
triadic
#2E3906 #062E39 #39062E
tetradic
#2E3906 #06392B #110639 #390615
square
#2E3906 #06392B #110639 #390615
split-complementary
#2E3906 #061539 #2B0639
monochromatic
#161C03 #161C03 #2E3906 #5B700C #87A812

Accessibility & contrast

On white

12.32
#2E3906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2E3906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3906
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3906#FFFFFF#000000##FFFFFF
##2E39061.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3C350B
Tritanopia (blue-blind)
#31352F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e3906;
/* rgb */ color: rgb(46, 57, 6);
/* oklch */ color: oklch(32.3% 0.072 121.5);
Tailwind
colors: {
  custom: {
    50: '#696f4b',
    500: '#2e3906',
    950: '#000000',
  },
}
SCSS
$custom: #2e3906;
$custom-light: #696f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3906",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 6
  },
  "hsl": {
    "h": 72.941,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32339,
    "c": 0.07235,
    "h": 121.5
  },
  "luminance": 0.0352
}

Semantic roles & 50–950 ramp

primary
#2E3906
secondary
#342279
accent
#30F75B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3906

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

Preview Lab → · Contrast checker → · Palette generator →

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