#2E5E0D#2E5E0D

#2E5E0D is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.1% C 0.120 H 136.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2E5E0D
RGBrgb(46, 94, 13)
HSLhsl(96, 76%, 21%)
HSVhsv(96, 86%, 37%)
CMYKcmyk(51.1%, 0%, 86.2%, 63.1%)
CIE-LABlab(35.23, -30.99, 37.67)
CIE-LCHlch(35.23, 48.78, 129.44°)
OKLaboklab(43.14% -0.0864 0.0832)
OKLCHoklch(43.14% 0.12 136.1)
XYZxyz(5.2019, 8.6150, 1.7694)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5E0D #3D0D5E
analogous
#565E0D #2E5E0D #0D5E15
triadic
#2E5E0D #0D2E5E #5E0D2E
tetradic
#2E5E0D #0D565E #3D0D5E #5E150D
square
#2E5E0D #0D565E #3D0D5E #5E150D
split-complementary
#2E5E0D #150D5E #5E0D56
monochromatic
#0D1B04 #142806 #2E5E0D #489414 #63CA1C

Accessibility & contrast

On white

7.71
#2E5E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2E5E0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5E0D
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5E0D#FFFFFF#000000##FFFFFF
##2E5E0D1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625500
Deuteranopia (green-blind)
#5B5117
Tritanopia (blue-blind)
#2C5A4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e5e0d;
/* rgb */ color: rgb(46, 94, 13);
/* oklch */ color: oklch(43.1% 0.120 136.1);
Tailwind
colors: {
  custom: {
    50: '#6c8c54',
    500: '#2e5e0d',
    950: '#000000',
  },
}
SCSS
$custom: #2e5e0d;
$custom-light: #6c8c54;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5e0d",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 13
  },
  "hsl": {
    "h": 95.556,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43136,
    "c": 0.11998,
    "h": 136.1
  },
  "luminance": 0.08615
}

Semantic roles & 50–950 ramp

primary
#2E5E0D
secondary
#6D2F98
accent
#36F2A5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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