#2E4412#2E4412

#2E4412 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.6% C 0.079 H 130.0°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2E4412
RGBrgb(46, 68, 18)
HSLhsl(86, 58%, 17%)
HSVhsv(86, 74%, 27%)
CMYKcmyk(32.4%, 0%, 73.5%, 73.3%)
CIE-LABlab(26.04, -18.02, 26.57)
CIE-LCHlch(26.04, 32.11, 124.15°)
OKLaboklab(35.63% -0.0509 0.0608)
OKLCHoklch(35.63% 0.079 130)
XYZxyz(3.3030, 4.7587, 1.3166)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4412 #281244
analogous
#444112 #2E4412 #154412
triadic
#2E4412 #122E44 #44122E
tetradic
#2E4412 #124441 #281244 #441215
square
#2E4412 #124441 #281244 #441215
split-complementary
#2E4412 #121544 #411244
monochromatic
#101806 #101806 #2E4412 #4F741F #6FA52C

Accessibility & contrast

On white

10.76
#2E4412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2E4412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4412
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4412#FFFFFF#000000##FFFFFF
##2E44121.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F0B
Deuteranopia (green-blind)
#443D16
Tritanopia (blue-blind)
#2F413A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e4412;
/* rgb */ color: rgb(46, 68, 18);
/* oklch */ color: oklch(35.6% 0.079 130.0);
Tailwind
colors: {
  custom: {
    50: '#697853',
    500: '#2e4412',
    950: '#000000',
  },
}
SCSS
$custom: #2e4412;
$custom-light: #697853;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4412",
  "rgb": {
    "r": 46,
    "g": 68,
    "b": 18
  },
  "hsl": {
    "h": 86.4,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35626,
    "c": 0.07928,
    "h": 130
  },
  "luminance": 0.04759
}

Semantic roles & 50–950 ramp

primary
#2E4412
secondary
#55357D
accent
#46E18B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E4412

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

Preview Lab → · Contrast checker → · Palette generator →

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