#2E3913#2E3913

#2E3913 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.5% C 0.061 H 123.3°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#2E3913
RGBrgb(46, 57, 19)
HSLhsl(77, 50%, 15%)
HSVhsv(77, 67%, 22%)
CMYKcmyk(19.3%, 0%, 66.7%, 77.6%)
CIE-LABlab(22.14, -11.69, 21.76)
CIE-LCHlch(22.14, 24.70, 118.25°)
OKLaboklab(32.48% -0.0333 0.0507)
OKLCHoklch(32.48% 0.061 123.3)
XYZxyz(2.7074, 3.5541, 1.1593)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3913 #1E1339
analogous
#393113 #2E3913 #1B3913
triadic
#2E3913 #132E39 #39132E
tetradic
#2E3913 #133931 #1E1339 #39131B
square
#2E3913 #133931 #1E1339 #39131B
split-complementary
#2E3913 #131B39 #311339
monochromatic
#131708 #131708 #2E3913 #536722 #789532

Accessibility & contrast

On white

12.27
#2E3913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3913
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3913#FFFFFF#000000##FFFFFF
##2E39131.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C350F
Deuteranopia (green-blind)
#3B3515
Tritanopia (blue-blind)
#303631
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e3913;
/* rgb */ color: rgb(46, 57, 19);
/* oklch */ color: oklch(32.5% 0.061 123.3);
Tailwind
colors: {
  custom: {
    50: '#686f52',
    500: '#2e3913',
    950: '#000000',
  },
}
SCSS
$custom: #2e3913;
$custom-light: #686f52;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3913",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 19
  },
  "hsl": {
    "h": 77.368,
    "s": 50,
    "l": 14.902
  },
  "oklch": {
    "l": 0.32476,
    "c": 0.06065,
    "h": 123.3
  },
  "luminance": 0.03554
}

Semantic roles & 50–950 ramp

primary
#2E3913
secondary
#483771
accent
#4EDA77
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2E3913

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

Preview Lab → · Contrast checker → · Palette generator →

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