#2E4A11#2E4A11

#2E4A11 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.4% C 0.089 H 132.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#2E4A11
RGBrgb(46, 74, 17)
HSLhsl(89, 63%, 18%)
HSVhsv(89, 77%, 29%)
CMYKcmyk(37.8%, 0%, 77%, 71%)
CIE-LABlab(28.16, -21.26, 29.27)
CIE-LCHlch(28.16, 36.18, 126.00°)
OKLaboklab(37.35% -0.0599 0.0663)
OKLCHoklch(37.35% 0.089 132.1)
XYZxyz(3.6766, 5.5187, 1.4017)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A11 #2D114A
analogous
#4A4911 #2E4A11 #114A11
triadic
#2E4A11 #112E4A #4A112E
tetradic
#2E4A11 #114A49 #2D114A #4A1111
square
#2E4A11 #114A49 #2D114A #4A1111
split-complementary
#2E4A11 #11114A #49114A
monochromatic
#0F1906 #0F1906 #2E4A11 #4D7C1C #6CAE28

Accessibility & contrast

On white

9.98
#2E4A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2E4A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4A11
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A11#FFFFFF#000000##FFFFFF
##2E4A111.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4408
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#2F473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e4a11;
/* rgb */ color: rgb(46, 74, 17);
/* oklch */ color: oklch(37.4% 0.089 132.1);
Tailwind
colors: {
  custom: {
    50: '#697c53',
    500: '#2e4a11',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a11;
$custom-light: #697c53;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a11",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 17
  },
  "hsl": {
    "h": 89.474,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37355,
    "c": 0.08931,
    "h": 132.1
  },
  "luminance": 0.05519
}

Semantic roles & 50–950 ramp

primary
#2E4A11
secondary
#5B3383
accent
#42E692
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E4A11

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

Preview Lab → · Contrast checker → · Palette generator →

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