#2E4308#2E4308

#2E4308 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.2% C 0.085 H 128.0°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2E4308
RGBrgb(46, 67, 8)
HSLhsl(81, 79%, 15%)
HSVhsv(81, 88%, 26%)
CMYKcmyk(31.3%, 0%, 88.1%, 73.7%)
CIE-LABlab(25.60, -18.24, 30.51)
CIE-LCHlch(25.60, 35.55, 120.87°)
OKLaboklab(35.25% -0.0525 0.0672)
OKLCHoklch(35.25% 0.085 128)
XYZxyz(3.1777, 4.6126, 0.9526)
Luminance0.0461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4308 #1D0843
analogous
#433B08 #2E4308 #104308
triadic
#2E4308 #082E43 #43082E
tetradic
#2E4308 #08433B #1D0843 #430810
square
#2E4308 #08433B #1D0843 #430810
split-complementary
#2E4308 #081043 #3B0843
monochromatic
#131B03 #131B03 #2E4308 #547A0F #79B015

Accessibility & contrast

On white

10.92
#2E4308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2E4308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4308
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4308#FFFFFF#000000##FFFFFF
##2E43081.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E00
Deuteranopia (green-blind)
#443C0E
Tritanopia (blue-blind)
#303F38
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e4308;
/* rgb */ color: rgb(46, 67, 8);
/* oklch */ color: oklch(35.2% 0.085 128.0);
Tailwind
colors: {
  custom: {
    50: '#69774d',
    500: '#2e4308',
    950: '#000000',
  },
}
SCSS
$custom: #2e4308;
$custom-light: #69774d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4308",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 8
  },
  "hsl": {
    "h": 81.356,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.35248,
    "c": 0.08529,
    "h": 128
  },
  "luminance": 0.04613
}

Semantic roles & 50–950 ramp

primary
#2E4308
secondary
#462581
accent
#33F578
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2E4308

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

Preview Lab → · Contrast checker → · Palette generator →

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