#2E5310#2E5310

#2E5310 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.0% C 0.103 H 134.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#2E5310
RGBrgb(46, 83, 16)
HSLhsl(93, 68%, 19%)
HSVhsv(93, 81%, 33%)
CMYKcmyk(44.6%, 0%, 80.7%, 67.5%)
CIE-LABlab(31.36, -25.78, 32.91)
CIE-LCHlch(31.36, 41.80, 128.08°)
OKLaboklab(39.96% -0.0722 0.0737)
OKLCHoklch(39.96% 0.103 134.4)
XYZxyz(4.3134, 6.8045, 1.5762)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5310 #351053
analogous
#505310 #2E5310 #105313
triadic
#2E5310 #102E53 #53102E
tetradic
#2E5310 #105053 #351053 #531310
square
#2E5310 #105053 #351053 #531310
split-complementary
#2E5310 #131053 #531050
monochromatic
#0E1A05 #122006 #2E5310 #4A861A #67BA24

Accessibility & contrast

On white

8.89
#2E5310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2E5310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5310
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5310#FFFFFF#000000##FFFFFF
##2E53101.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C04
Deuteranopia (green-blind)
#514917
Tritanopia (blue-blind)
#2D4F46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e5310;
/* rgb */ color: rgb(46, 83, 16);
/* oklch */ color: oklch(40.0% 0.103 134.4);
Tailwind
colors: {
  custom: {
    50: '#6b8354',
    500: '#2e5310',
    950: '#000000',
  },
}
SCSS
$custom: #2e5310;
$custom-light: #6b8354;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5310",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 93.134,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39962,
    "c": 0.10319,
    "h": 134.4
  },
  "luminance": 0.06805
}

Semantic roles & 50–950 ramp

primary
#2E5310
secondary
#64328D
accent
#3DEB9D
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5310

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

Preview Lab → · Contrast checker → · Palette generator →

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