#2E4108#2E4108

#2E4108 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.7% C 0.082 H 126.9°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2E4108
RGBrgb(46, 65, 8)
HSLhsl(80, 78%, 14%)
HSVhsv(80, 88%, 25%)
CMYKcmyk(29.2%, 0%, 87.7%, 74.5%)
CIE-LABlab(24.89, -17.16, 29.84)
CIE-LCHlch(24.89, 34.42, 119.90°)
OKLaboklab(34.67% -0.0495 0.0659)
OKLCHoklch(34.67% 0.082 126.9)
XYZxyz(3.0609, 4.3789, 0.9136)
Luminance0.0438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4108 #1B0841
analogous
#413808 #2E4108 #124108
triadic
#2E4108 #082E41 #41082E
tetradic
#2E4108 #084138 #1B0841 #410812
square
#2E4108 #084138 #1B0841 #410812
split-complementary
#2E4108 #081241 #380841
monochromatic
#131B03 #131B03 #2E4108 #55770F #7BAE15

Accessibility & contrast

On white

11.20
#2E4108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2E4108 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4108
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4108#FFFFFF#000000##FFFFFF
##2E41081.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4108;
/* rgb */ color: rgb(46, 65, 8);
/* oklch */ color: oklch(34.7% 0.082 126.9);
Tailwind
colors: {
  custom: {
    50: '#69754d',
    500: '#2e4108',
    950: '#000000',
  },
}
SCSS
$custom: #2e4108;
$custom-light: #69754d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4108",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 8
  },
  "hsl": {
    "h": 80,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34667,
    "c": 0.0824,
    "h": 126.9
  },
  "luminance": 0.04379
}

Semantic roles & 50–950 ramp

primary
#2E4108
secondary
#43257F
accent
#33F574
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2E4108

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

Preview Lab → · Contrast checker → · Palette generator →

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