#2E5C0F#2E5C0F

#2E5C0F is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.6% C 0.116 H 136.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#2E5C0F
RGBrgb(46, 92, 15)
HSLhsl(96, 72%, 21%)
HSVhsv(96, 84%, 36%)
CMYKcmyk(50%, 0%, 83.7%, 63.9%)
CIE-LABlab(34.54, -29.99, 36.35)
CIE-LCHlch(34.54, 47.12, 129.52°)
OKLaboklab(42.57% -0.0836 0.0808)
OKLCHoklch(42.57% 0.116 136)
XYZxyz(5.0400, 8.2693, 1.7824)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5C0F #3D0F5C
analogous
#545C0F #2E5C0F #0F5C16
triadic
#2E5C0F #0F2E5C #5C0F2E
tetradic
#2E5C0F #0F545C #3D0F5C #5C160F
square
#2E5C0F #0F545C #3D0F5C #5C160F
split-complementary
#2E5C0F #160F5C #5C0F54
monochromatic
#0D1A04 #142706 #2E5C0F #489118 #63C520

Accessibility & contrast

On white

7.91
#2E5C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2E5C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5C0F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5C0F#FFFFFF#000000##FFFFFF
##2E5C0F1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#595018
Tritanopia (blue-blind)
#2C584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e5c0f;
/* rgb */ color: rgb(46, 92, 15);
/* oklch */ color: oklch(42.6% 0.116 136.0);
Tailwind
colors: {
  custom: {
    50: '#6c8a55',
    500: '#2e5c0f',
    950: '#000000',
  },
}
SCSS
$custom: #2e5c0f;
$custom-light: #6c8a55;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5c0f",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 15
  },
  "hsl": {
    "h": 95.844,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42569,
    "c": 0.11624,
    "h": 136
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#2E5C0F
secondary
#6D3195
accent
#39EFA6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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