#2E5D0F#2E5D0F

#2E5D0F is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 42.9% C 0.118 H 136.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2E5D0F
RGBrgb(46, 93, 15)
HSLhsl(96, 72%, 21%)
HSVhsv(96, 84%, 36%)
CMYKcmyk(50.5%, 0%, 83.9%, 63.5%)
CIE-LABlab(34.89, -30.43, 36.68)
CIE-LCHlch(34.89, 47.66, 129.68°)
OKLaboklab(42.86% -0.0848 0.0815)
OKLCHoklch(42.86% 0.118 136.2)
XYZxyz(5.1272, 8.4437, 1.8115)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5D0F #3E0F5D
analogous
#555D0F #2E5D0F #0F5D17
triadic
#2E5D0F #0F2E5D #5D0F2E
tetradic
#2E5D0F #0F555D #3E0F5D #5D170F
square
#2E5D0F #0F555D #3E0F5D #5D170F
split-complementary
#2E5D0F #170F5D #5D0F55
monochromatic
#0D1A04 #142806 #2E5D0F #489217 #62C620

Accessibility & contrast

On white

7.81
#2E5D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E5D0F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5D0F#FFFFFF#000000##FFFFFF
##2E5D0F1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e5d0f;
/* rgb */ color: rgb(46, 93, 15);
/* oklch */ color: oklch(42.9% 0.118 136.2);
Tailwind
colors: {
  custom: {
    50: '#6c8b55',
    500: '#2e5d0f',
    950: '#000000',
  },
}
SCSS
$custom: #2e5d0f;
$custom-light: #6c8b55;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5d0f",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 15
  },
  "hsl": {
    "h": 96.154,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42859,
    "c": 0.11759,
    "h": 136.2
  },
  "luminance": 0.08444
}

Semantic roles & 50–950 ramp

primary
#2E5D0F
secondary
#6E3196
accent
#39EFA7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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