#2E5D0E#2E5D0E

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

Color values

HEX#2E5D0E
RGBrgb(46, 93, 14)
HSLhsl(96, 74%, 21%)
HSVhsv(96, 85%, 36%)
CMYKcmyk(50.5%, 0%, 84.9%, 63.5%)
CIE-LABlab(34.88, -30.49, 37.02)
CIE-LCHlch(34.88, 47.96, 129.48°)
OKLaboklab(42.85% -0.085 0.082)
OKLCHoklch(42.85% 0.118 136)
XYZxyz(5.1202, 8.4409, 1.7748)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5D0E #3D0E5D
analogous
#555D0E #2E5D0E #0E5D15
triadic
#2E5D0E #0E2E5D #5D0E2E
tetradic
#2E5D0E #0E555D #3D0E5D #5D150E
square
#2E5D0E #0E555D #3D0E5D #5D150E
split-complementary
#2E5D0E #150E5D #5D0E55
monochromatic
#0D1B04 #142806 #2E5D0E #489216 #63C71E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E5D0E#FFFFFF#000000##FFFFFF
##2E5D0E1.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)
#5A5117
Tritanopia (blue-blind)
#2C594E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e5d0e;
/* rgb */ color: rgb(46, 93, 14);
/* oklch */ color: oklch(42.9% 0.118 136.0);
Tailwind
colors: {
  custom: {
    50: '#6c8b54',
    500: '#2e5d0e',
    950: '#000000',
  },
}
SCSS
$custom: #2e5d0e;
$custom-light: #6c8b54;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5d0e",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 14
  },
  "hsl": {
    "h": 95.696,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42853,
    "c": 0.11813,
    "h": 136
  },
  "luminance": 0.08441
}

Semantic roles & 50–950 ramp

primary
#2E5D0E
secondary
#6D3097
accent
#37F0A5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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