#2E4E1A#2E4E1A

#2E4E1A is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.6% C 0.088 H 135.2°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#2E4E1A
RGBrgb(46, 78, 26)
HSLhsl(97, 50%, 20%)
HSVhsv(97, 67%, 31%)
CMYKcmyk(41%, 0%, 66.7%, 69.4%)
CIE-LABlab(29.67, -22.41, 26.49)
CIE-LCHlch(29.67, 34.69, 130.23°)
OKLaboklab(38.61% -0.0622 0.0617)
OKLCHoklch(38.61% 0.088 135.2)
XYZxyz(4.0375, 6.1040, 1.9425)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E1A #3A1A4E
analogous
#484E1A #2E4E1A #1A4E20
triadic
#2E4E1A #1A2E4E #4E1A2E
tetradic
#2E4E1A #1A484E #3A1A4E #4E201A
square
#2E4E1A #1A484E #3A1A4E #4E201A
split-complementary
#2E4E1A #201A4E #4E1A48
monochromatic
#0E1708 #13200B #2E4E1A #497C29 #64AA39

Accessibility & contrast

On white

9.46
#2E4E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2E4E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E1A
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E1A#FFFFFF#000000##FFFFFF
##2E4E1A1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514814
Deuteranopia (green-blind)
#4D451E
Tritanopia (blue-blind)
#2D4B43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4e1a;
/* rgb */ color: rgb(46, 78, 26);
/* oklch */ color: oklch(38.6% 0.088 135.2);
Tailwind
colors: {
  custom: {
    50: '#698059',
    500: '#2e4e1a',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e1a;
$custom-light: #698059;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e1a",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 26
  },
  "hsl": {
    "h": 96.923,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38614,
    "c": 0.08759,
    "h": 135.2
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#2E4E1A
secondary
#6A4084
accent
#4EDAA4
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2E4E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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