#2E4611#2E4611

#2E4611 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.083 H 130.6°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#2E4611
RGBrgb(46, 70, 17)
HSLhsl(87, 61%, 17%)
HSVhsv(87, 76%, 27%)
CMYKcmyk(34.3%, 0%, 75.7%, 72.5%)
CIE-LABlab(26.74, -19.18, 27.80)
CIE-LCHlch(26.74, 33.77, 124.61°)
OKLaboklab(36.19% -0.0542 0.0632)
OKLCHoklch(36.19% 0.083 130.6)
XYZxyz(3.4180, 5.0015, 1.3155)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4611 #291146
analogous
#464411 #2E4611 #134611
triadic
#2E4611 #112E46 #46112E
tetradic
#2E4611 #114644 #291146 #461113
square
#2E4611 #114644 #291146 #461113
split-complementary
#2E4611 #111346 #441146
monochromatic
#101906 #101906 #2E4611 #4E771D #6FA829

Accessibility & contrast

On white

10.50
#2E4611 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E4611 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4611
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4611#FFFFFF#000000##FFFFFF
##2E46111.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494009
Deuteranopia (green-blind)
#463F15
Tritanopia (blue-blind)
#2F433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e4611;
/* rgb */ color: rgb(46, 70, 17);
/* oklch */ color: oklch(36.2% 0.083 130.6);
Tailwind
colors: {
  custom: {
    50: '#697952',
    500: '#2e4611',
    950: '#000000',
  },
}
SCSS
$custom: #2e4611;
$custom-light: #697952;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4611",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 17
  },
  "hsl": {
    "h": 87.17,
    "s": 60.92,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36194,
    "c": 0.08324,
    "h": 130.6
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#2E4611
secondary
#563380
accent
#44E48C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E4611

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

Preview Lab → · Contrast checker → · Palette generator →

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