#2E3911#2E3911

#2E3911 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.4% C 0.063 H 122.9°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#2E3911
RGBrgb(46, 57, 17)
HSLhsl(77, 54%, 15%)
HSVhsv(77, 70%, 22%)
CMYKcmyk(19.3%, 0%, 70.2%, 77.6%)
CIE-LABlab(22.12, -11.90, 22.84)
CIE-LCHlch(22.12, 25.75, 117.52°)
OKLaboklab(32.45% -0.0341 0.0527)
OKLCHoklch(32.45% 0.063 122.9)
XYZxyz(2.6910, 3.5476, 1.0732)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3911 #1C1139
analogous
#393011 #2E3911 #1A3911
triadic
#2E3911 #112E39 #39112E
tetradic
#2E3911 #113930 #1C1139 #39111A
square
#2E3911 #113930 #1C1139 #39111A
split-complementary
#2E3911 #111A39 #301139
monochromatic
#131807 #131807 #2E3911 #54681F #7A972D

Accessibility & contrast

On white

12.28
#2E3911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2E3911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3911
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3911#FFFFFF#000000##FFFFFF
##2E39111.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D350C
Deuteranopia (green-blind)
#3B3514
Tritanopia (blue-blind)
#313630
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e3911;
/* rgb */ color: rgb(46, 57, 17);
/* oklch */ color: oklch(32.4% 0.063 122.9);
Tailwind
colors: {
  custom: {
    50: '#686f51',
    500: '#2e3911',
    950: '#000000',
  },
}
SCSS
$custom: #2e3911;
$custom-light: #686f51;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3911",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 17
  },
  "hsl": {
    "h": 76.5,
    "s": 54.054,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32449,
    "c": 0.06278,
    "h": 122.9
  },
  "luminance": 0.03548
}

Semantic roles & 50–950 ramp

primary
#2E3911
secondary
#453472
accent
#4ADD73
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2E3911

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

Preview Lab → · Contrast checker → · Palette generator →

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