#2E4104#2E4104

#2E4104 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.6% C 0.085 H 126.5°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2E4104
RGBrgb(46, 65, 4)
HSLhsl(79, 88%, 14%)
HSVhsv(79, 94%, 25%)
CMYKcmyk(29.2%, 0%, 93.8%, 74.5%)
CIE-LABlab(24.86, -17.42, 31.44)
CIE-LCHlch(24.86, 35.95, 118.99°)
OKLaboklab(34.64% -0.0507 0.0685)
OKLCHoklch(34.64% 0.085 126.5)
XYZxyz(3.0389, 4.3701, 0.7983)
Luminance0.0437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4104 #170441
analogous
#413504 #2E4104 #0F4104
triadic
#2E4104 #042E41 #41042E
tetradic
#2E4104 #044135 #170441 #41040F
square
#2E4104 #044135 #170441 #41040F
split-complementary
#2E4104 #040F41 #350441
monochromatic
#141D02 #141D02 #2E4104 #577B08 #80B40B

Accessibility & contrast

On white

11.21
#2E4104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E4104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4104
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4104#FFFFFF#000000##FFFFFF
##2E41041.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#423B0A
Tritanopia (blue-blind)
#303D36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e4104;
/* rgb */ color: rgb(46, 65, 4);
/* oklch */ color: oklch(34.6% 0.085 126.5);
Tailwind
colors: {
  custom: {
    50: '#69754b',
    500: '#2e4104',
    950: '#000000',
  },
}
SCSS
$custom: #2e4104;
$custom-light: #69754b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4104",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 4
  },
  "hsl": {
    "h": 78.689,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.34636,
    "c": 0.08521,
    "h": 126.5
  },
  "luminance": 0.0437
}

Semantic roles & 50–950 ramp

primary
#2E4104
secondary
#3E1F82
accent
#29FF6C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #2E4104

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

Preview Lab → · Contrast checker → · Palette generator →

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