#2E4E1B#2E4E1B

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

Color values

HEX#2E4E1B
RGBrgb(46, 78, 27)
HSLhsl(98, 49%, 21%)
HSVhsv(98, 65%, 31%)
CMYKcmyk(41%, 0%, 65.4%, 69.4%)
CIE-LABlab(29.68, -22.30, 25.98)
CIE-LCHlch(29.68, 34.23, 130.64°)
OKLaboklab(38.63% -0.0618 0.0607)
OKLCHoklch(38.63% 0.087 135.5)
XYZxyz(4.0488, 6.1086, 2.0024)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E1B #3B1B4E
analogous
#474E1B #2E4E1B #1B4E21
triadic
#2E4E1B #1B2E4E #4E1B2E
tetradic
#2E4E1B #1B474E #3B1B4E #4E211B
square
#2E4E1B #1B474E #3B1B4E #4E211B
split-complementary
#2E4E1B #211B4E #4E1B47
monochromatic
#0D1708 #13210B #2E4E1B #497B2B #64A93A

Accessibility & contrast

On white

9.45
#2E4E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4E1B
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E1B#FFFFFF#000000##FFFFFF
##2E4E1B1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4e1b;
/* rgb */ color: rgb(46, 78, 27);
/* oklch */ color: oklch(38.6% 0.087 135.5);
Tailwind
colors: {
  custom: {
    50: '#698059',
    500: '#2e4e1b',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e1b;
$custom-light: #698059;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e1b",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 27
  },
  "hsl": {
    "h": 97.647,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38627,
    "c": 0.08662,
    "h": 135.5
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

primary
#2E4E1B
secondary
#6B4184
accent
#50D8A5
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2E4E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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