#2E5916#2E5916

#2E5916 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.8% C 0.107 H 136.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2E5916
RGBrgb(46, 89, 22)
HSLhsl(99, 60%, 22%)
HSVhsv(99, 75%, 35%)
CMYKcmyk(48.3%, 0%, 75.3%, 65.1%)
CIE-LABlab(33.53, -28.10, 32.57)
CIE-LCHlch(33.53, 43.02, 130.79°)
OKLaboklab(41.76% -0.078 0.074)
OKLCHoklch(41.76% 0.108 136.5)
XYZxyz(4.8438, 7.7832, 2.0060)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5916 #411659
analogous
#505916 #2E5916 #165920
triadic
#2E5916 #162E59 #59162E
tetradic
#2E5916 #165059 #411659 #592016
square
#2E5916 #165059 #411659 #592016
split-complementary
#2E5916 #201659 #591650
monochromatic
#0D1906 #15280A #2E5916 #478A22 #61BB2E

Accessibility & contrast

On white

8.21
#2E5916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2E5916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5916
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5916#FFFFFF#000000##FFFFFF
##2E59161.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510C
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#2C564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e5916;
/* rgb */ color: rgb(46, 89, 22);
/* oklch */ color: oklch(41.8% 0.107 136.5);
Tailwind
colors: {
  custom: {
    50: '#6b8858',
    500: '#2e5916',
    950: '#000000',
  },
}
SCSS
$custom: #2e5916;
$custom-light: #6b8858;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5916",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 22
  },
  "hsl": {
    "h": 98.507,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41755,
    "c": 0.1075,
    "h": 136.5
  },
  "luminance": 0.07784
}

Semantic roles & 50–950 ramp

primary
#2E5916
secondary
#723B90
accent
#44E4AA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5916

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

Preview Lab → · Contrast checker → · Palette generator →

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