#2E4F1D#2E4F1D

#2E4F1D is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 38.9% C 0.086 H 136.3°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2E4F1D
RGBrgb(46, 79, 29)
HSLhsl(100, 46%, 21%)
HSVhsv(100, 63%, 31%)
CMYKcmyk(41.8%, 0%, 63.3%, 69%)
CIE-LABlab(30.06, -22.56, 25.34)
CIE-LCHlch(30.06, 33.93, 131.68°)
OKLaboklab(38.94% -0.0623 0.0596)
OKLCHoklch(38.94% 0.086 136.3)
XYZxyz(4.1444, 6.2613, 2.1523)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F1D #3E1D4F
analogous
#474F1D #2E4F1D #1D4F25
triadic
#2E4F1D #1D2E4F #4F1D2E
tetradic
#2E4F1D #1D474F #3E1D4F #4F251D
square
#2E4F1D #1D474F #3E1D4F #4F251D
split-complementary
#2E4F1D #251D4F #4F1D47
monochromatic
#0D1608 #14220D #2E4F1D #487C2D #62A93E

Accessibility & contrast

On white

9.32
#2E4F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2E4F1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F1D
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F1D#FFFFFF#000000##FFFFFF
##2E4F1D1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524918
Deuteranopia (green-blind)
#4D4621
Tritanopia (blue-blind)
#2D4C44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e4f1d;
/* rgb */ color: rgb(46, 79, 29);
/* oklch */ color: oklch(38.9% 0.086 136.3);
Tailwind
colors: {
  custom: {
    50: '#69805b',
    500: '#2e4f1d',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f1d;
$custom-light: #69805b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f1d",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 29
  },
  "hsl": {
    "h": 99.6,
    "s": 46.296,
    "l": 21.176
  },
  "oklch": {
    "l": 0.38943,
    "c": 0.08623,
    "h": 136.3
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#2E4F1D
secondary
#6E4484
accent
#52D6A9
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2E4F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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