#2E3807#2E3807

#2E3807 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.1% C 0.070 H 120.8°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#2E3807
RGBrgb(46, 56, 7)
HSLhsl(72, 78%, 12%)
HSVhsv(72, 88%, 22%)
CMYKcmyk(17.9%, 0%, 87.5%, 78%)
CIE-LABlab(21.67, -12.12, 26.98)
CIE-LCHlch(21.67, 29.57, 114.19°)
OKLaboklab(32.06% -0.0359 0.0602)
OKLCHoklch(32.06% 0.07 120.8)
XYZxyz(2.5793, 3.4245, 0.7261)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3807 #110738
analogous
#382A07 #2E3807 #153807
triadic
#2E3807 #072E38 #38072E
tetradic
#2E3807 #07382A #110738 #380715
square
#2E3807 #07382A #110738 #380715
split-complementary
#2E3807 #071538 #2A0738
monochromatic
#161B03 #161B03 #2E3807 #5B6E0E #87A515

Accessibility & contrast

On white

12.46
#2E3807 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2E3807 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3807
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3807#FFFFFF#000000##FFFFFF
##2E38071.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3401
Deuteranopia (green-blind)
#3B340B
Tritanopia (blue-blind)
#31352F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e3807;
/* rgb */ color: rgb(46, 56, 7);
/* oklch */ color: oklch(32.1% 0.070 120.8);
Tailwind
colors: {
  custom: {
    50: '#696e4b',
    500: '#2e3807',
    950: '#000000',
  },
}
SCSS
$custom: #2e3807;
$custom-light: #696e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3807",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 7
  },
  "hsl": {
    "h": 72.245,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32061,
    "c": 0.0701,
    "h": 120.8
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#2E3807
secondary
#342378
accent
#34F45B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3807

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

Preview Lab → · Contrast checker → · Palette generator →

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