#2E5615#2E5615

#2E5615 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.9% C 0.104 H 135.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2E5615
RGBrgb(46, 86, 21)
HSLhsl(97, 61%, 21%)
HSVhsv(97, 76%, 34%)
CMYKcmyk(46.5%, 0%, 75.6%, 66.3%)
CIE-LABlab(32.46, -26.80, 31.91)
CIE-LCHlch(32.46, 41.67, 130.03°)
OKLaboklab(40.88% -0.0745 0.0724)
OKLCHoklch(40.88% 0.104 135.8)
XYZxyz(4.5897, 7.2903, 1.8746)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5615 #3D1556
analogous
#4E5615 #2E5615 #15561C
triadic
#2E5615 #152E56 #56152E
tetradic
#2E5615 #154E56 #3D1556 #561C15
square
#2E5615 #154E56 #3D1556 #561C15
split-complementary
#2E5615 #1C1556 #56154E
monochromatic
#0D1906 #142509 #2E5615 #488721 #63B82D

Accessibility & contrast

On white

8.54
#2E5615 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E5615
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5615#FFFFFF#000000##FFFFFF
##2E56151.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0B
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#2D5349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e5615;
/* rgb */ color: rgb(46, 86, 21);
/* oklch */ color: oklch(40.9% 0.104 135.8);
Tailwind
colors: {
  custom: {
    50: '#6b8657',
    500: '#2e5615',
    950: '#000000',
  },
}
SCSS
$custom: #2e5615;
$custom-light: #6b8657;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5615",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 21
  },
  "hsl": {
    "h": 96.923,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40877,
    "c": 0.10394,
    "h": 135.8
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#2E5615
secondary
#6D398E
accent
#44E4A6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5615

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

Preview Lab → · Contrast checker → · Palette generator →

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