#2E5E0F#2E5E0F

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

Color values

HEX#2E5E0F
RGBrgb(46, 94, 15)
HSLhsl(96, 72%, 21%)
HSVhsv(96, 84%, 37%)
CMYKcmyk(51.1%, 0%, 84%, 63.1%)
CIE-LABlab(35.24, -30.87, 37.02)
CIE-LCHlch(35.24, 48.20, 129.83°)
OKLaboklab(43.15% -0.086 0.0822)
OKLCHoklch(43.15% 0.119 136.3)
XYZxyz(5.2155, 8.6204, 1.8409)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5E0F #3F0F5E
analogous
#565E0F #2E5E0F #0F5E18
triadic
#2E5E0F #0F2E5E #5E0F2E
tetradic
#2E5E0F #0F565E #3F0F5E #5E180F
square
#2E5E0F #0F565E #3F0F5E #5E180F
split-complementary
#2E5E0F #180F5E #5E0F56
monochromatic
#0D1A04 #142907 #2E5E0F #489317 #62C820

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E5E0F#FFFFFF#000000##FFFFFF
##2E5E0F1.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)
#5B5118
Tritanopia (blue-blind)
#2C5A4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e5e0f;
/* rgb */ color: rgb(46, 94, 15);
/* oklch */ color: oklch(43.1% 0.119 136.3);
Tailwind
colors: {
  custom: {
    50: '#6c8c55',
    500: '#2e5e0f',
    950: '#000000',
  },
}
SCSS
$custom: #2e5e0f;
$custom-light: #6c8c55;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5e0f",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 15
  },
  "hsl": {
    "h": 96.456,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43149,
    "c": 0.11893,
    "h": 136.3
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#2E5E0F
secondary
#6F3197
accent
#39EFA8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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