#2E4311#2E4311

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

Color values

HEX#2E4311
RGBrgb(46, 67, 17)
HSLhsl(85, 60%, 16%)
HSVhsv(85, 75%, 26%)
CMYKcmyk(31.3%, 0%, 74.6%, 73.7%)
CIE-LABlab(25.67, -17.57, 26.67)
CIE-LCHlch(25.67, 31.94, 123.38°)
OKLaboklab(35.33% -0.0498 0.0608)
OKLCHoklch(35.33% 0.079 129.3)
XYZxyz(3.2350, 4.6355, 1.2545)
Luminance0.0464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4311 #261143
analogous
#433F11 #2E4311 #154311
triadic
#2E4311 #112E43 #43112E
tetradic
#2E4311 #11433F #261143 #431115
square
#2E4311 #11433F #261143 #431115
split-complementary
#2E4311 #111543 #3F1143
monochromatic
#111806 #111806 #2E4311 #50741D #71A52A

Accessibility & contrast

On white

10.90
#2E4311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4311
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4311#FFFFFF#000000##FFFFFF
##2E43111.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E0A
Deuteranopia (green-blind)
#443C15
Tritanopia (blue-blind)
#304039
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e4311;
/* rgb */ color: rgb(46, 67, 17);
/* oklch */ color: oklch(35.3% 0.079 129.3);
Tailwind
colors: {
  custom: {
    50: '#697752',
    500: '#2e4311',
    950: '#000000',
  },
}
SCSS
$custom: #2e4311;
$custom-light: #697752;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4311",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 17
  },
  "hsl": {
    "h": 85.2,
    "s": 59.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35325,
    "c": 0.0786,
    "h": 129.3
  },
  "luminance": 0.04636
}

Semantic roles & 50–950 ramp

primary
#2E4311
secondary
#52337D
accent
#45E387
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E4311

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

Preview Lab → · Contrast checker → · Palette generator →

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