#2E3706#2E3706

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

Color values

HEX#2E3706
RGBrgb(46, 55, 6)
HSLhsl(71, 80%, 12%)
HSVhsv(71, 89%, 22%)
CMYKcmyk(16.4%, 0%, 89.1%, 78.4%)
CIE-LABlab(21.31, -11.60, 26.99)
CIE-LCHlch(21.31, 29.38, 113.25°)
OKLaboklab(31.77% -0.0346 0.0603)
OKLCHoklch(31.77% 0.07 119.8)
XYZxyz(2.5258, 3.3264, 0.6813)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3706 #0F0637
analogous
#372806 #2E3706 #163706
triadic
#2E3706 #062E37 #37062E
tetradic
#2E3706 #063728 #0F0637 #370616
square
#2E3706 #063728 #0F0637 #370616
split-complementary
#2E3706 #061637 #280637
monochromatic
#171C03 #171C03 #2E3706 #5C6E0C #8AA512

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E3706#FFFFFF#000000##FFFFFF
##2E37061.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)
#3B3300
Deuteranopia (green-blind)
#3A330A
Tritanopia (blue-blind)
#31332E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e3706;
/* rgb */ color: rgb(46, 55, 6);
/* oklch */ color: oklch(31.8% 0.070 119.8);
Tailwind
colors: {
  custom: {
    50: '#696d4a',
    500: '#2e3706',
    950: '#000000',
  },
}
SCSS
$custom: #2e3706;
$custom-light: #696d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3706",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 6
  },
  "hsl": {
    "h": 71.02,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31765,
    "c": 0.06951,
    "h": 119.8
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

primary
#2E3706
secondary
#312177
accent
#31F755
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3706

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

Preview Lab → · Contrast checker → · Palette generator →

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