#2E5612#2E5612

#2E5612 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.8% C 0.106 H 135.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#2E5612
RGBrgb(46, 86, 18)
HSLhsl(95, 65%, 20%)
HSVhsv(95, 79%, 34%)
CMYKcmyk(46.5%, 0%, 79.1%, 66.3%)
CIE-LABlab(32.44, -27.04, 33.16)
CIE-LCHlch(32.44, 42.79, 129.20°)
OKLaboklab(40.85% -0.0755 0.0746)
OKLCHoklch(40.85% 0.106 135.3)
XYZxyz(4.5636, 7.2798, 1.7368)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5612 #3A1256
analogous
#505612 #2E5612 #125618
triadic
#2E5612 #122E56 #56122E
tetradic
#2E5612 #125056 #3A1256 #561812
square
#2E5612 #125056 #3A1256 #561812
split-complementary
#2E5612 #181256 #561250
monochromatic
#0E1905 #132307 #2E5612 #49891D #64BB27

Accessibility & contrast

On white

8.55
#2E5612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2E5612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5612
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5612#FFFFFF#000000##FFFFFF
##2E56121.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#2D5249
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e5612;
/* rgb */ color: rgb(46, 86, 18);
/* oklch */ color: oklch(40.8% 0.106 135.3);
Tailwind
colors: {
  custom: {
    50: '#6b8655',
    500: '#2e5612',
    950: '#000000',
  },
}
SCSS
$custom: #2e5612;
$custom-light: #6b8655;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5612",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 95.294,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.4085,
    "c": 0.1061,
    "h": 135.3
  },
  "luminance": 0.0728
}

Semantic roles & 50–950 ramp

primary
#2E5612
secondary
#6A358F
accent
#3FE8A3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5612

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

Preview Lab → · Contrast checker → · Palette generator →

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