#2E5E13#2E5E13

#2E5E13 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.2% C 0.117 H 136.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2E5E13
RGBrgb(46, 94, 19)
HSLhsl(98, 66%, 22%)
HSVhsv(98, 80%, 37%)
CMYKcmyk(51.1%, 0%, 79.8%, 63.1%)
CIE-LABlab(35.27, -30.60, 35.57)
CIE-LCHlch(35.27, 46.92, 130.70°)
OKLaboklab(43.18% -0.085 0.0798)
OKLCHoklch(43.18% 0.117 136.8)
XYZxyz(5.2468, 8.6329, 2.0058)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5E13 #43135E
analogous
#545E13 #2E5E13 #135E1E
triadic
#2E5E13 #132E5E #5E132E
tetradic
#2E5E13 #13545E #43135E #5E1E13
square
#2E5E13 #13545E #43135E #5E1E13
split-complementary
#2E5E13 #1E135E #5E1354
monochromatic
#0C1905 #152B09 #2E5E13 #47911D #60C428

Accessibility & contrast

On white

7.70
#2E5E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2E5E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5E13
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5E13#FFFFFF#000000##FFFFFF
##2E5E131.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615504
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#2B5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e5e13;
/* rgb */ color: rgb(46, 94, 19);
/* oklch */ color: oklch(43.2% 0.117 136.8);
Tailwind
colors: {
  custom: {
    50: '#6c8c57',
    500: '#2e5e13',
    950: '#000000',
  },
}
SCSS
$custom: #2e5e13;
$custom-light: #6c8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5e13",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 19
  },
  "hsl": {
    "h": 98.4,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43177,
    "c": 0.11657,
    "h": 136.8
  },
  "luminance": 0.08633
}

Semantic roles & 50–950 ramp

primary
#2E5E13
secondary
#743796
accent
#3FE9AC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5E13

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

Preview Lab → · Contrast checker → · Palette generator →

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