#2E3707#2E3707

#2E3707 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.8% C 0.069 H 119.9°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#2E3707
RGBrgb(46, 55, 7)
HSLhsl(71, 77%, 12%)
HSVhsv(71, 87%, 22%)
CMYKcmyk(16.4%, 0%, 87.3%, 78.4%)
CIE-LABlab(21.31, -11.52, 26.59)
CIE-LCHlch(21.31, 28.98, 113.43°)
OKLaboklab(31.77% -0.0342 0.0595)
OKLCHoklch(31.77% 0.069 119.9)
XYZxyz(2.5313, 3.3286, 0.7101)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3707 #100737
analogous
#372807 #2E3707 #163707
triadic
#2E3707 #072E37 #37072E
tetradic
#2E3707 #073728 #100737 #370716
square
#2E3707 #073728 #100737 #370716
split-complementary
#2E3707 #071637 #280737
monochromatic
#171B03 #171B03 #2E3707 #5B6D0E #89A415

Accessibility & contrast

On white

12.61
#2E3707 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2E3707 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3707
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3707#FFFFFF#000000##FFFFFF
##2E37071.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3301
Deuteranopia (green-blind)
#3A330B
Tritanopia (blue-blind)
#31342E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e3707;
/* rgb */ color: rgb(46, 55, 7);
/* oklch */ color: oklch(31.8% 0.069 119.9);
Tailwind
colors: {
  custom: {
    50: '#686d4b',
    500: '#2e3707',
    950: '#000000',
  },
}
SCSS
$custom: #2e3707;
$custom-light: #686d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3707",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 7
  },
  "hsl": {
    "h": 71.25,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31774,
    "c": 0.06867,
    "h": 119.9
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#2E3707
secondary
#332377
accent
#34F458
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3707

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

Preview Lab → · Contrast checker → · Palette generator →

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