#2E5710#2E5710

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

Color values

HEX#2E5710
RGBrgb(46, 87, 16)
HSLhsl(95, 69%, 20%)
HSVhsv(95, 82%, 34%)
CMYKcmyk(47.1%, 0%, 81.6%, 65.9%)
CIE-LABlab(32.78, -27.66, 34.29)
CIE-LCHlch(32.78, 44.06, 128.88°)
OKLaboklab(41.13% -0.0773 0.0766)
OKLCHoklch(41.13% 0.109 135.2)
XYZxyz(4.6283, 7.4344, 1.6812)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5710 #391057
analogous
#515710 #2E5710 #105716
triadic
#2E5710 #102E57 #57102E
tetradic
#2E5710 #105157 #391057 #571610
square
#2E5710 #105157 #391057 #571610
split-complementary
#2E5710 #161057 #571051
monochromatic
#0E1A05 #132306 #2E5710 #498B1A #65BE23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E5710#FFFFFF#000000##FFFFFF
##2E57101.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)
#5A4F03
Deuteranopia (green-blind)
#554C17
Tritanopia (blue-blind)
#2D534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e5710;
/* rgb */ color: rgb(46, 87, 16);
/* oklch */ color: oklch(41.1% 0.109 135.2);
Tailwind
colors: {
  custom: {
    50: '#6b8754',
    500: '#2e5710',
    950: '#000000',
  },
}
SCSS
$custom: #2e5710;
$custom-light: #6b8754;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5710",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 16
  },
  "hsl": {
    "h": 94.648,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41125,
    "c": 0.10882,
    "h": 135.2
  },
  "luminance": 0.07435
}

Semantic roles & 50–950 ramp

primary
#2E5710
secondary
#693290
accent
#3CECA2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5710

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

Preview Lab → · Contrast checker → · Palette generator →

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