#2E4705#2E4705

#2E4705 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.4% C 0.093 H 129.4°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#2E4705
RGBrgb(46, 71, 5)
HSLhsl(83, 87%, 15%)
HSVhsv(83, 93%, 28%)
CMYKcmyk(35.2%, 0%, 93%, 72.2%)
CIE-LABlab(27.01, -20.54, 33.01)
CIE-LCHlch(27.01, 38.88, 121.88°)
OKLaboklab(36.39% -0.0589 0.0718)
OKLCHoklch(36.39% 0.093 129.4)
XYZxyz(3.4073, 5.0982, 0.9481)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4705 #1E0547
analogous
#473F05 #2E4705 #0D4705
triadic
#2E4705 #052E47 #47052E
tetradic
#2E4705 #05473F #1E0547 #47050D
square
#2E4705 #05473F #1E0547 #47050D
split-complementary
#2E4705 #050D47 #3F0547
monochromatic
#131D02 #131D02 #2E4705 #538009 #78B90D

Accessibility & contrast

On white

10.40
#2E4705 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2E4705 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4705
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4705#FFFFFF#000000##FFFFFF
##2E47051.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#483F0D
Tritanopia (blue-blind)
#30433B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e4705;
/* rgb */ color: rgb(46, 71, 5);
/* oklch */ color: oklch(36.4% 0.093 129.4);
Tailwind
colors: {
  custom: {
    50: '#6a7a4c',
    500: '#2e4705',
    950: '#000000',
  },
}
SCSS
$custom: #2e4705;
$custom-light: #6a7a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4705",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 5
  },
  "hsl": {
    "h": 82.727,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3639,
    "c": 0.09292,
    "h": 129.4
  },
  "luminance": 0.05098
}

Semantic roles & 50–950 ramp

primary
#2E4705
secondary
#482187
accent
#2BFD7A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #2E4705

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

Preview Lab → · Contrast checker → · Palette generator →

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