#2E4E1C#2E4E1C

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

Color values

HEX#2E4E1C
RGBrgb(46, 78, 28)
HSLhsl(98, 47%, 21%)
HSVhsv(98, 64%, 31%)
CMYKcmyk(41%, 0%, 64.1%, 69.4%)
CIE-LABlab(29.70, -22.18, 25.46)
CIE-LCHlch(29.70, 33.76, 131.06°)
OKLaboklab(38.64% -0.0614 0.0597)
OKLCHoklch(38.64% 0.086 135.8)
XYZxyz(4.0606, 6.1133, 2.0644)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E1C #3C1C4E
analogous
#474E1C #2E4E1C #1C4E23
triadic
#2E4E1C #1C2E4E #4E1C2E
tetradic
#2E4E1C #1C474E #3C1C4E #4E231C
square
#2E4E1C #1C474E #3C1C4E #4E231C
split-complementary
#2E4E1C #231C4E #4E1C47
monochromatic
#0D1708 #13210C #2E4E1C #497B2C #63A83C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E4E1C#FFFFFF#000000##FFFFFF
##2E4E1C1.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)
#514817
Deuteranopia (green-blind)
#4C4520
Tritanopia (blue-blind)
#2D4B43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4e1c;
/* rgb */ color: rgb(46, 78, 28);
/* oklch */ color: oklch(38.6% 0.086 135.8);
Tailwind
colors: {
  custom: {
    50: '#69805a',
    500: '#2e4e1c',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e1c;
$custom-light: #69805a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e1c",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 28
  },
  "hsl": {
    "h": 98.4,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3864,
    "c": 0.08562,
    "h": 135.8
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#2E4E1C
secondary
#6C4284
accent
#51D7A7
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2E4E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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