#2E4915#2E4915

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

Color values

HEX#2E4915
RGBrgb(46, 73, 21)
HSLhsl(91, 55%, 18%)
HSVhsv(91, 71%, 29%)
CMYKcmyk(37%, 0%, 71.2%, 71.4%)
CIE-LABlab(27.84, -20.38, 27.02)
CIE-LCHlch(27.84, 33.85, 127.02°)
OKLaboklab(37.11% -0.0571 0.0622)
OKLCHoklch(37.11% 0.084 132.6)
XYZxyz(3.6446, 5.3999, 1.5596)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4915 #301549
analogous
#484915 #2E4915 #154916
triadic
#2E4915 #152E49 #49152E
tetradic
#2E4915 #154849 #301549 #491615
square
#2E4915 #154849 #301549 #491615
split-complementary
#2E4915 #161549 #491548
monochromatic
#0F1807 #101907 #2E4915 #4C7923 #6AA830

Accessibility & contrast

On white

10.10
#2E4915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4915
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4915#FFFFFF#000000##FFFFFF
##2E49151.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430E
Deuteranopia (green-blind)
#484119
Tritanopia (blue-blind)
#2E463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e4915;
/* rgb */ color: rgb(46, 73, 21);
/* oklch */ color: oklch(37.1% 0.084 132.6);
Tailwind
colors: {
  custom: {
    50: '#697c55',
    500: '#2e4915',
    950: '#000000',
  },
}
SCSS
$custom: #2e4915;
$custom-light: #697c55;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4915",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 21
  },
  "hsl": {
    "h": 91.154,
    "s": 55.319,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37107,
    "c": 0.0844,
    "h": 132.6
  },
  "luminance": 0.054
}

Semantic roles & 50–950 ramp

primary
#2E4915
secondary
#5E3981
accent
#49DF97
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4915

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

Preview Lab → · Contrast checker → · Palette generator →

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