#2E3907#2E3907

#2E3907 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.3% C 0.072 H 121.6°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#2E3907
RGBrgb(46, 57, 7)
HSLhsl(73, 78%, 13%)
HSVhsv(73, 88%, 22%)
CMYKcmyk(19.3%, 0%, 87.7%, 77.6%)
CIE-LABlab(22.03, -12.70, 27.36)
CIE-LCHlch(22.03, 30.16, 114.91°)
OKLaboklab(32.35% -0.0375 0.0609)
OKLCHoklch(32.35% 0.072 121.6)
XYZxyz(2.6282, 3.5224, 0.7424)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3907 #120739
analogous
#392B07 #2E3907 #153907
triadic
#2E3907 #072E39 #39072E
tetradic
#2E3907 #07392B #120739 #390715
square
#2E3907 #07392B #120739 #390715
split-complementary
#2E3907 #071539 #2B0739
monochromatic
#161B03 #161B03 #2E3907 #5A700E #86A614

Accessibility & contrast

On white

12.32
#2E3907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2E3907 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3907
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3907#FFFFFF#000000##FFFFFF
##2E39071.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3907;
/* rgb */ color: rgb(46, 57, 7);
/* oklch */ color: oklch(32.3% 0.072 121.6);
Tailwind
colors: {
  custom: {
    50: '#696f4b',
    500: '#2e3907',
    950: '#000000',
  },
}
SCSS
$custom: #2e3907;
$custom-light: #696f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3907",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 7
  },
  "hsl": {
    "h": 73.2,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.32348,
    "c": 0.07154,
    "h": 121.6
  },
  "luminance": 0.03522
}

Semantic roles & 50–950 ramp

primary
#2E3907
secondary
#362379
accent
#33F55E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3907

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

Preview Lab → · Contrast checker → · Palette generator →

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