#2E4112#2E4112

#2E4112 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.8% C 0.075 H 128.5°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2E4112
RGBrgb(46, 65, 18)
HSLhsl(84, 57%, 16%)
HSVhsv(84, 72%, 25%)
CMYKcmyk(29.2%, 0%, 72.3%, 74.5%)
CIE-LABlab(24.97, -16.38, 25.42)
CIE-LCHlch(24.97, 30.25, 122.80°)
OKLaboklab(34.76% -0.0464 0.0583)
OKLCHoklch(34.76% 0.075 128.5)
XYZxyz(3.1262, 4.4050, 1.2577)
Luminance0.0440 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4112 #251241
analogous
#413D12 #2E4112 #174112
triadic
#2E4112 #122E41 #41122E
tetradic
#2E4112 #12413D #251241 #411217
square
#2E4112 #12413D #251241 #411217
split-complementary
#2E4112 #121741 #3D1241
monochromatic
#111807 #111807 #2E4112 #50711F #72A12D

Accessibility & contrast

On white

11.16
#2E4112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2E4112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4112
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4112#FFFFFF#000000##FFFFFF
##2E41121.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C0C
Deuteranopia (green-blind)
#423B16
Tritanopia (blue-blind)
#303E37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e4112;
/* rgb */ color: rgb(46, 65, 18);
/* oklch */ color: oklch(34.8% 0.075 128.5);
Tailwind
colors: {
  custom: {
    50: '#687552',
    500: '#2e4112',
    950: '#000000',
  },
}
SCSS
$custom: #2e4112;
$custom-light: #687552;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4112",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 18
  },
  "hsl": {
    "h": 84.255,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34759,
    "c": 0.07455,
    "h": 128.5
  },
  "luminance": 0.04405
}

Semantic roles & 50–950 ramp

primary
#2E4112
secondary
#51357A
accent
#48E085
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E4112

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

Preview Lab → · Contrast checker → · Palette generator →

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