#2E5910#2E5910

#2E5910 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.7% C 0.112 H 135.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2E5910
RGBrgb(46, 89, 16)
HSLhsl(95, 70%, 21%)
HSVhsv(95, 82%, 35%)
CMYKcmyk(48.3%, 0%, 82%, 65.1%)
CIE-LABlab(33.48, -28.57, 34.98)
CIE-LCHlch(33.48, 45.17, 129.24°)
OKLaboklab(41.71% -0.0797 0.0781)
OKLCHoklch(41.71% 0.112 135.6)
XYZxyz(4.7925, 7.7627, 1.7359)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5910 #3B1059
analogous
#525910 #2E5910 #105916
triadic
#2E5910 #102E59 #59102E
tetradic
#2E5910 #105259 #3B1059 #591610
square
#2E5910 #105259 #3B1059 #591610
split-complementary
#2E5910 #161059 #591052
monochromatic
#0D1A05 #132507 #2E5910 #498D19 #64C123

Accessibility & contrast

On white

8.23
#2E5910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2E5910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5910
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5910#FFFFFF#000000##FFFFFF
##2E59101.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5102
Deuteranopia (green-blind)
#574D18
Tritanopia (blue-blind)
#2C554B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e5910;
/* rgb */ color: rgb(46, 89, 16);
/* oklch */ color: oklch(41.7% 0.112 135.6);
Tailwind
colors: {
  custom: {
    50: '#6c8855',
    500: '#2e5910',
    950: '#000000',
  },
}
SCSS
$custom: #2e5910;
$custom-light: #6c8855;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5910",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 16
  },
  "hsl": {
    "h": 95.342,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41706,
    "c": 0.11158,
    "h": 135.6
  },
  "luminance": 0.07763
}

Semantic roles & 50–950 ramp

primary
#2E5910
secondary
#6B3392
accent
#3BECA4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5910

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

Preview Lab → · Contrast checker → · Palette generator →

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