#2E4715#2E4715

#2E4715 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.5% C 0.081 H 131.9°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#2E4715
RGBrgb(46, 71, 21)
HSLhsl(90, 54%, 18%)
HSVhsv(90, 70%, 28%)
CMYKcmyk(35.2%, 0%, 70.4%, 72.2%)
CIE-LABlab(27.13, -19.33, 26.25)
CIE-LCHlch(27.13, 32.60, 126.37°)
OKLaboklab(36.53% -0.0542 0.0605)
OKLCHoklch(36.53% 0.081 131.9)
XYZxyz(3.5153, 5.1413, 1.5165)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4715 #2E1547
analogous
#474715 #2E4715 #154715
triadic
#2E4715 #152E47 #47152E
tetradic
#2E4715 #154747 #2E1547 #471515
square
#2E4715 #154747 #2E1547 #471515
split-complementary
#2E4715 #151547 #471547
monochromatic
#0F1807 #0F1807 #2E4715 #4D7623 #6BA531

Accessibility & contrast

On white

10.35
#2E4715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2E4715 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4715
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4715#FFFFFF#000000##FFFFFF
##2E47151.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410F
Deuteranopia (green-blind)
#473F19
Tritanopia (blue-blind)
#2F443D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e4715;
/* rgb */ color: rgb(46, 71, 21);
/* oklch */ color: oklch(36.5% 0.081 131.9);
Tailwind
colors: {
  custom: {
    50: '#697a55',
    500: '#2e4715',
    950: '#000000',
  },
}
SCSS
$custom: #2e4715;
$custom-light: #697a55;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4715",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 21
  },
  "hsl": {
    "h": 90,
    "s": 54.348,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36528,
    "c": 0.08125,
    "h": 131.9
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

primary
#2E4715
secondary
#5C397F
accent
#4ADE94
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4715

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

Preview Lab → · Contrast checker → · Palette generator →

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