#2E3904#2E3904

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

Color values

HEX#2E3904
RGBrgb(46, 57, 4)
HSLhsl(72, 87%, 12%)
HSVhsv(72, 93%, 22%)
CMYKcmyk(19.3%, 0%, 93%, 77.6%)
CIE-LABlab(22.00, -12.92, 28.55)
CIE-LCHlch(22.00, 31.34, 114.34°)
OKLaboklab(32.32% -0.0384 0.0632)
OKLCHoklch(32.32% 0.074 121.3)
XYZxyz(2.6118, 3.5159, 0.6559)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3904 #0F0439
analogous
#392A04 #2E3904 #143904
triadic
#2E3904 #042E39 #39042E
tetradic
#2E3904 #04392A #0F0439 #390414
square
#2E3904 #04392A #0F0439 #390414
split-complementary
#2E3904 #041439 #2A0439
monochromatic
#171D02 #171D02 #2E3904 #5C7208 #8AAB0C

Accessibility & contrast

On white

12.33
#2E3904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3904
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3904#FFFFFF#000000##FFFFFF
##2E39041.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3C3509
Tritanopia (blue-blind)
#31352F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e3904;
/* rgb */ color: rgb(46, 57, 4);
/* oklch */ color: oklch(32.3% 0.074 121.3);
Tailwind
colors: {
  custom: {
    50: '#696f4a',
    500: '#2e3904',
    950: '#000000',
  },
}
SCSS
$custom: #2e3904;
$custom-light: #696f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3904",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 4
  },
  "hsl": {
    "h": 72.453,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.32321,
    "c": 0.074,
    "h": 121.3
  },
  "luminance": 0.03516
}

Semantic roles & 50–950 ramp

primary
#2E3904
secondary
#311E7B
accent
#2BFD56
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3904

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

Preview Lab → · Contrast checker → · Palette generator →

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