#2E4906#2E4906

#2E4906 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.0% C 0.095 H 130.3°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2E4906
RGBrgb(46, 73, 6)
HSLhsl(84, 85%, 15%)
HSVhsv(84, 92%, 29%)
CMYKcmyk(37%, 0%, 91.8%, 71.4%)
CIE-LABlab(27.73, -21.50, 33.24)
CIE-LCHlch(27.73, 39.59, 122.89°)
OKLaboklab(36.98% -0.0614 0.0726)
OKLCHoklch(36.98% 0.095 130.3)
XYZxyz(3.5421, 5.3590, 1.0200)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4906 #210649
analogous
#494206 #2E4906 #0C4906
triadic
#2E4906 #062E49 #49062E
tetradic
#2E4906 #064942 #210649 #49060C
square
#2E4906 #064942 #210649 #49060C
split-complementary
#2E4906 #060C49 #420649
monochromatic
#121C02 #121C02 #2E4906 #52820B #75BA0F

Accessibility & contrast

On white

10.14
#2E4906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2E4906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4906
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4906#FFFFFF#000000##FFFFFF
##2E49061.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4300
Deuteranopia (green-blind)
#49410E
Tritanopia (blue-blind)
#2F453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e4906;
/* rgb */ color: rgb(46, 73, 6);
/* oklch */ color: oklch(37.0% 0.095 130.3);
Tailwind
colors: {
  custom: {
    50: '#6a7c4d',
    500: '#2e4906',
    950: '#000000',
  },
}
SCSS
$custom: #2e4906;
$custom-light: #6a7c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4906",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 6
  },
  "hsl": {
    "h": 84.179,
    "s": 84.81,
    "l": 15.49
  },
  "oklch": {
    "l": 0.36981,
    "c": 0.09508,
    "h": 130.3
  },
  "luminance": 0.05359
}

Semantic roles & 50–950 ramp

primary
#2E4906
secondary
#4C2388
accent
#2DFB80
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2E4906

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

Preview Lab → · Contrast checker → · Palette generator →

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