#2E5711#2E5711

#2E5711 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.1% C 0.108 H 135.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2E5711
RGBrgb(46, 87, 17)
HSLhsl(95, 67%, 20%)
HSVhsv(95, 80%, 34%)
CMYKcmyk(47.1%, 0%, 80.5%, 65.9%)
CIE-LABlab(32.78, -27.58, 33.91)
CIE-LCHlch(32.78, 43.71, 129.13°)
OKLaboklab(41.13% -0.077 0.076)
OKLCHoklch(41.13% 0.108 135.4)
XYZxyz(4.6360, 7.4374, 1.7215)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5711 #3A1157
analogous
#515711 #2E5711 #115717
triadic
#2E5711 #112E57 #57112E
tetradic
#2E5711 #115157 #3A1157 #571711
square
#2E5711 #115157 #3A1157 #571711
split-complementary
#2E5711 #171157 #571151
monochromatic
#0E1A05 #132407 #2E5711 #498A1B #64BD25

Accessibility & contrast

On white

8.44
#2E5711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2E5711 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5711
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5711#FFFFFF#000000##FFFFFF
##2E57111.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F04
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#2D534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e5711;
/* rgb */ color: rgb(46, 87, 17);
/* oklch */ color: oklch(41.1% 0.108 135.4);
Tailwind
colors: {
  custom: {
    50: '#6b8755',
    500: '#2e5711',
    950: '#000000',
  },
}
SCSS
$custom: #2e5711;
$custom-light: #6b8755;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5711",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 17
  },
  "hsl": {
    "h": 95.143,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41132,
    "c": 0.10818,
    "h": 135.4
  },
  "luminance": 0.07438
}

Semantic roles & 50–950 ramp

primary
#2E5711
secondary
#6A3490
accent
#3EEAA3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5711

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

Preview Lab → · Contrast checker → · Palette generator →

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