#2E5B13#2E5B13

#2E5B13 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.3% C 0.112 H 136.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2E5B13
RGBrgb(46, 91, 19)
HSLhsl(98, 65%, 22%)
HSVhsv(98, 79%, 36%)
CMYKcmyk(49.5%, 0%, 79.1%, 64.3%)
CIE-LABlab(34.21, -29.26, 34.53)
CIE-LCHlch(34.21, 45.26, 130.28°)
OKLaboklab(42.31% -0.0814 0.0776)
OKLCHoklch(42.31% 0.112 136.4)
XYZxyz(4.9852, 8.1097, 1.9186)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5B13 #40135B
analogous
#525B13 #2E5B13 #135B1C
triadic
#2E5B13 #132E5B #5B132E
tetradic
#2E5B13 #13525B #40135B #5B1C13
square
#2E5B13 #13525B #40135B #5B1C13
split-complementary
#2E5B13 #1C135B #5B1352
monochromatic
#0D1905 #142808 #2E5B13 #488E1E #61C028

Accessibility & contrast

On white

8.01
#2E5B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2E5B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5B13
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5B13#FFFFFF#000000##FFFFFF
##2E5B131.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5306
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#2C574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e5b13;
/* rgb */ color: rgb(46, 91, 19);
/* oklch */ color: oklch(42.3% 0.112 136.4);
Tailwind
colors: {
  custom: {
    50: '#6c8a56',
    500: '#2e5b13',
    950: '#000000',
  },
}
SCSS
$custom: #2e5b13;
$custom-light: #6c8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5b13",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 19
  },
  "hsl": {
    "h": 97.5,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42308,
    "c": 0.11243,
    "h": 136.4
  },
  "luminance": 0.0811
}

Semantic roles & 50–950 ramp

primary
#2E5B13
secondary
#703793
accent
#3FE8A9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5B13

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

Preview Lab → · Contrast checker → · Palette generator →

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