#2E5914#2E5914

#2E5914 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.7% C 0.109 H 136.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2E5914
RGBrgb(46, 89, 20)
HSLhsl(97, 63%, 21%)
HSVhsv(97, 78%, 35%)
CMYKcmyk(48.3%, 0%, 77.5%, 65.1%)
CIE-LABlab(33.51, -28.27, 33.41)
CIE-LCHlch(33.51, 43.77, 130.24°)
OKLaboklab(41.74% -0.0786 0.0754)
OKLCHoklch(41.74% 0.109 136.2)
XYZxyz(4.8252, 7.7758, 1.9083)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5914 #3F1459
analogous
#515914 #2E5914 #14591D
triadic
#2E5914 #142E59 #59142E
tetradic
#2E5914 #145159 #3F1459 #591D14
square
#2E5914 #145159 #3F1459 #591D14
split-complementary
#2E5914 #1D1459 #591451
monochromatic
#0D1906 #142709 #2E5914 #488B1F #62BD2A

Accessibility & contrast

On white

8.22
#2E5914 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2E5914 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5914
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5914#FFFFFF#000000##FFFFFF
##2E59141.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5108
Deuteranopia (green-blind)
#574D1B
Tritanopia (blue-blind)
#2C554C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e5914;
/* rgb */ color: rgb(46, 89, 20);
/* oklch */ color: oklch(41.7% 0.109 136.2);
Tailwind
colors: {
  custom: {
    50: '#6b8857',
    500: '#2e5914',
    950: '#000000',
  },
}
SCSS
$custom: #2e5914;
$custom-light: #6b8857;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5914",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 20
  },
  "hsl": {
    "h": 97.391,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41737,
    "c": 0.10896,
    "h": 136.2
  },
  "luminance": 0.07776
}

Semantic roles & 50–950 ramp

primary
#2E5914
secondary
#6F3891
accent
#41E6A8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5914

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

Preview Lab → · Contrast checker → · Palette generator →

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