#2E4912#2E4912

#2E4912 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.1% C 0.087 H 131.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#2E4912
RGBrgb(46, 73, 18)
HSLhsl(89, 60%, 18%)
HSVhsv(89, 75%, 29%)
CMYKcmyk(37%, 0%, 75.3%, 71.4%)
CIE-LABlab(27.82, -20.66, 28.45)
CIE-LCHlch(27.82, 35.16, 125.99°)
OKLaboklab(37.08% -0.0581 0.0647)
OKLCHoklch(37.08% 0.087 131.9)
XYZxyz(3.6184, 5.3895, 1.4218)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4912 #2D1249
analogous
#494912 #2E4912 #124912
triadic
#2E4912 #122E49 #49122E
tetradic
#2E4912 #124949 #2D1249 #491212
square
#2E4912 #124949 #2D1249 #491212
split-complementary
#2E4912 #121249 #491249
monochromatic
#0F1906 #0F1906 #2E4912 #4D7A1E #6CAB2A

Accessibility & contrast

On white

10.11
#2E4912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2E4912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4912
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4912#FFFFFF#000000##FFFFFF
##2E49121.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430A
Deuteranopia (green-blind)
#494117
Tritanopia (blue-blind)
#2F463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e4912;
/* rgb */ color: rgb(46, 73, 18);
/* oklch */ color: oklch(37.1% 0.087 131.9);
Tailwind
colors: {
  custom: {
    50: '#697c53',
    500: '#2e4912',
    950: '#000000',
  },
}
SCSS
$custom: #2e4912;
$custom-light: #697c53;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4912",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 89.455,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37075,
    "c": 0.08699,
    "h": 131.9
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#2E4912
secondary
#5B3582
accent
#44E492
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E4912

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

Preview Lab → · Contrast checker → · Palette generator →

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