#2E4312#2E4312

#2E4312 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.3% C 0.078 H 129.5°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#2E4312
RGBrgb(46, 67, 18)
HSLhsl(86, 58%, 17%)
HSVhsv(86, 73%, 26%)
CMYKcmyk(31.3%, 0%, 73.1%, 73.7%)
CIE-LABlab(25.68, -17.48, 26.19)
CIE-LCHlch(25.68, 31.49, 123.73°)
OKLaboklab(35.34% -0.0494 0.06)
OKLCHoklch(35.34% 0.078 129.5)
XYZxyz(3.2430, 4.6387, 1.2967)
Luminance0.0464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4312 #271243
analogous
#434012 #2E4312 #164312
triadic
#2E4312 #122E43 #43122E
tetradic
#2E4312 #124340 #271243 #431216
square
#2E4312 #124340 #271243 #431216
split-complementary
#2E4312 #121643 #401243
monochromatic
#111806 #111806 #2E4312 #4F731F #70A32C

Accessibility & contrast

On white

10.89
#2E4312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2E4312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4312
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4312#FFFFFF#000000##FFFFFF
##2E43121.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E0C
Deuteranopia (green-blind)
#443C16
Tritanopia (blue-blind)
#2F4039
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e4312;
/* rgb */ color: rgb(46, 67, 18);
/* oklch */ color: oklch(35.3% 0.078 129.5);
Tailwind
colors: {
  custom: {
    50: '#697753',
    500: '#2e4312',
    950: '#000000',
  },
}
SCSS
$custom: #2e4312;
$custom-light: #697753;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4312",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 18
  },
  "hsl": {
    "h": 85.714,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35336,
    "c": 0.07771,
    "h": 129.5
  },
  "luminance": 0.04639
}

Semantic roles & 50–950 ramp

primary
#2E4312
secondary
#53357C
accent
#47E189
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E4312

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

Preview Lab → · Contrast checker → · Palette generator →

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