#2E5D13#2E5D13

#2E5D13 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 42.9% C 0.115 H 136.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2E5D13
RGBrgb(46, 93, 19)
HSLhsl(98, 66%, 22%)
HSVhsv(98, 80%, 36%)
CMYKcmyk(50.5%, 0%, 79.6%, 63.5%)
CIE-LABlab(34.92, -30.16, 35.22)
CIE-LCHlch(34.92, 46.37, 130.57°)
OKLaboklab(42.89% -0.0838 0.0791)
OKLCHoklch(42.89% 0.115 136.7)
XYZxyz(5.1585, 8.4562, 1.9764)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5D13 #42135D
analogous
#535D13 #2E5D13 #135D1D
triadic
#2E5D13 #132E5D #5D132E
tetradic
#2E5D13 #13535D #42135D #5D1D13
square
#2E5D13 #13535D #42135D #5D1D13
split-complementary
#2E5D13 #1D135D #5D1353
monochromatic
#0D1905 #152A09 #2E5D13 #47901D #60C328

Accessibility & contrast

On white

7.80
#2E5D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2E5D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5D13
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5D13#FFFFFF#000000##FFFFFF
##2E5D131.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605505
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#2C594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e5d13;
/* rgb */ color: rgb(46, 93, 19);
/* oklch */ color: oklch(42.9% 0.115 136.7);
Tailwind
colors: {
  custom: {
    50: '#6c8b57',
    500: '#2e5d13',
    950: '#000000',
  },
}
SCSS
$custom: #2e5d13;
$custom-light: #6c8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5d13",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 19
  },
  "hsl": {
    "h": 98.108,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42888,
    "c": 0.11519,
    "h": 136.7
  },
  "luminance": 0.08457
}

Semantic roles & 50–950 ramp

primary
#2E5D13
secondary
#733795
accent
#3FE9AB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5D13

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

Preview Lab → · Contrast checker → · Palette generator →

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