#2E5F0F#2E5F0F

#2E5F0F is a dark, vivid yellow-green. Relative luminance 0.088; OKLCH L 43.4% C 0.120 H 136.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2E5F0F
RGBrgb(46, 95, 15)
HSLhsl(97, 73%, 22%)
HSVhsv(97, 84%, 37%)
CMYKcmyk(51.6%, 0%, 84.2%, 62.7%)
CIE-LABlab(35.60, -31.31, 37.35)
CIE-LCHlch(35.60, 48.74, 129.97°)
OKLaboklab(43.44% -0.0872 0.0828)
OKLCHoklch(43.44% 0.12 136.5)
XYZxyz(5.3050, 8.7994, 1.8708)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5F0F #400F5F
analogous
#565F0F #2E5F0F #0F5F18
triadic
#2E5F0F #0F2E5F #5F0F2E
tetradic
#2E5F0F #0F565F #400F5F #5F180F
square
#2E5F0F #0F565F #400F5F #5F180F
split-complementary
#2E5F0F #180F5F #5F0F56
monochromatic
#0D1A04 #142A07 #2E5F0F #489417 #61C920

Accessibility & contrast

On white

7.61
#2E5F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2E5F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5F0F
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5F0F#FFFFFF#000000##FFFFFF
##2E5F0F1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635600
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#2B5B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e5f0f;
/* rgb */ color: rgb(46, 95, 15);
/* oklch */ color: oklch(43.4% 0.120 136.5);
Tailwind
colors: {
  custom: {
    50: '#6d8d55',
    500: '#2e5f0f',
    950: '#000000',
  },
}
SCSS
$custom: #2e5f0f;
$custom-light: #6d8d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5f0f",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 15
  },
  "hsl": {
    "h": 96.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43438,
    "c": 0.12026,
    "h": 136.5
  },
  "luminance": 0.088
}

Semantic roles & 50–950 ramp

primary
#2E5F0F
secondary
#703298
accent
#38EFA8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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