#2E5D0D#2E5D0D

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

Color values

HEX#2E5D0D
RGBrgb(46, 93, 13)
HSLhsl(95, 75%, 21%)
HSVhsv(95, 86%, 36%)
CMYKcmyk(50.5%, 0%, 86%, 63.5%)
CIE-LABlab(34.88, -30.55, 37.35)
CIE-LCHlch(34.88, 48.25, 129.29°)
OKLaboklab(42.85% -0.0853 0.0825)
OKLCHoklch(42.85% 0.119 135.9)
XYZxyz(5.1136, 8.4383, 1.7400)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5D0D #3C0D5D
analogous
#565D0D #2E5D0D #0D5D14
triadic
#2E5D0D #0D2E5D #5D0D2E
tetradic
#2E5D0D #0D565D #3C0D5D #5D140D
square
#2E5D0D #0D565D #3C0D5D #5D140D
split-complementary
#2E5D0D #140D5D #5D0D56
monochromatic
#0D1B04 #132705 #2E5D0D #499315 #63C81C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2e5d0d;
/* rgb */ color: rgb(46, 93, 13);
/* oklch */ color: oklch(42.8% 0.119 135.9);
Tailwind
colors: {
  custom: {
    50: '#6c8b54',
    500: '#2e5d0d',
    950: '#000000',
  },
}
SCSS
$custom: #2e5d0d;
$custom-light: #6c8b54;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5d0d",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 13
  },
  "hsl": {
    "h": 95.25,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42847,
    "c": 0.11865,
    "h": 135.9
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#2E5D0D
secondary
#6C2F97
accent
#36F2A4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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