#2E4E10#2E4E10

#2E4E10 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.5% C 0.096 H 133.2°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2E4E10
RGBrgb(46, 78, 16)
HSLhsl(91, 66%, 18%)
HSVhsv(91, 79%, 31%)
CMYKcmyk(41%, 0%, 79.5%, 69.4%)
CIE-LABlab(29.58, -23.36, 31.15)
CIE-LCHlch(29.58, 38.93, 126.87°)
OKLaboklab(38.51% -0.0656 0.07)
OKLCHoklch(38.51% 0.096 133.2)
XYZxyz(3.9446, 6.0669, 1.4533)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E10 #30104E
analogous
#4D4E10 #2E4E10 #104E11
triadic
#2E4E10 #102E4E #4E102E
tetradic
#2E4E10 #104D4E #30104E #4E1110
square
#2E4E10 #104D4E #30104E #4E1110
split-complementary
#2E4E10 #11104E #4E104D
monochromatic
#0F1905 #101B06 #2E4E10 #4C811A #6AB425

Accessibility & contrast

On white

9.49
#2E4E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2E4E10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E10
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E10#FFFFFF#000000##FFFFFF
##2E4E101.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514706
Deuteranopia (green-blind)
#4D4516
Tritanopia (blue-blind)
#2E4B42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4e10;
/* rgb */ color: rgb(46, 78, 16);
/* oklch */ color: oklch(38.5% 0.096 133.2);
Tailwind
colors: {
  custom: {
    50: '#6a8053',
    500: '#2e4e10',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e10;
$custom-light: #6a8053;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e10",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 16
  },
  "hsl": {
    "h": 90.968,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38509,
    "c": 0.09599,
    "h": 133.2
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#2E4E10
secondary
#5E3288
accent
#3FE997
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2E4E10

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

Preview Lab → · Contrast checker → · Palette generator →

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