#2E4615#2E4615

#2E4615 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.080 H 131.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2E4615
RGBrgb(46, 70, 21)
HSLhsl(89, 54%, 18%)
HSVhsv(89, 70%, 27%)
CMYKcmyk(34.3%, 0%, 70%, 72.5%)
CIE-LABlab(26.78, -18.80, 25.86)
CIE-LCHlch(26.78, 31.97, 126.02°)
OKLaboklab(36.24% -0.0528 0.0597)
OKLCHoklch(36.24% 0.08 131.5)
XYZxyz(3.4522, 5.0152, 1.4955)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4615 #2D1546
analogous
#464515 #2E4615 #154615
triadic
#2E4615 #152E46 #46152E
tetradic
#2E4615 #154645 #2D1546 #461515
square
#2E4615 #154645 #2D1546 #461515
split-complementary
#2E4615 #151546 #451546
monochromatic
#0F1807 #0F1807 #2E4615 #4D7523 #6CA431

Accessibility & contrast

On white

10.48
#2E4615 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E4615 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4615
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4615#FFFFFF#000000##FFFFFF
##2E46151.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400F
Deuteranopia (green-blind)
#463F19
Tritanopia (blue-blind)
#2F433C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e4615;
/* rgb */ color: rgb(46, 70, 21);
/* oklch */ color: oklch(36.2% 0.080 131.5);
Tailwind
colors: {
  custom: {
    50: '#697955',
    500: '#2e4615',
    950: '#000000',
  },
}
SCSS
$custom: #2e4615;
$custom-light: #697955;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4615",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 21
  },
  "hsl": {
    "h": 89.388,
    "s": 53.846,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36238,
    "c": 0.07967,
    "h": 131.5
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#2E4615
secondary
#5B397E
accent
#4BDD92
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4615

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

Preview Lab → · Contrast checker → · Palette generator →

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