#2E5811#2E5811

#2E5811 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.4% C 0.110 H 135.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2E5811
RGBrgb(46, 88, 17)
HSLhsl(95, 68%, 21%)
HSVhsv(95, 81%, 35%)
CMYKcmyk(47.7%, 0%, 80.7%, 65.5%)
CIE-LABlab(33.14, -28.05, 34.26)
CIE-LCHlch(33.14, 44.27, 129.31°)
OKLaboklab(41.42% -0.0782 0.0767)
OKLCHoklch(41.42% 0.11 135.6)
XYZxyz(4.7175, 7.6005, 1.7487)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5811 #3B1158
analogous
#515811 #2E5811 #115817
triadic
#2E5811 #112E58 #58112E
tetradic
#2E5811 #115158 #3B1158 #581711
square
#2E5811 #115158 #3B1158 #581711
split-complementary
#2E5811 #171158 #581151
monochromatic
#0D1A05 #132507 #2E5811 #498B1B #64BF25

Accessibility & contrast

On white

8.33
#2E5811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2E5811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5811
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5811#FFFFFF#000000##FFFFFF
##2E58111.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5004
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#2D544A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e5811;
/* rgb */ color: rgb(46, 88, 17);
/* oklch */ color: oklch(41.4% 0.110 135.6);
Tailwind
colors: {
  custom: {
    50: '#6b8755',
    500: '#2e5811',
    950: '#000000',
  },
}
SCSS
$custom: #2e5811;
$custom-light: #6b8755;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5811",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 95.493,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41423,
    "c": 0.10957,
    "h": 135.6
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#2E5811
secondary
#6B3491
accent
#3DEAA4
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5811

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

Preview Lab → · Contrast checker → · Palette generator →

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