#2E5316#2E5316

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

Color values

HEX#2E5316
RGBrgb(46, 83, 22)
HSLhsl(96, 58%, 21%)
HSVhsv(96, 73%, 33%)
CMYKcmyk(44.6%, 0%, 73.5%, 67.5%)
CIE-LABlab(31.41, -25.28, 30.35)
CIE-LCHlch(31.41, 39.50, 129.79°)
OKLaboklab(40.02% -0.0704 0.0693)
OKLCHoklch(40.02% 0.099 135.4)
XYZxyz(4.3647, 6.8250, 1.8463)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5316 #3B1653
analogous
#4C5316 #2E5316 #16531C
triadic
#2E5316 #162E53 #53162E
tetradic
#2E5316 #164C53 #3B1653 #531C16
square
#2E5316 #164C53 #3B1653 #531C16
split-complementary
#2E5316 #1C1653 #53164C
monochromatic
#0D1806 #132309 #2E5316 #498323 #64B430

Accessibility & contrast

On white

8.88
#2E5316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2E5316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5316
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5316#FFFFFF#000000##FFFFFF
##2E53161.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0D
Deuteranopia (green-blind)
#51491B
Tritanopia (blue-blind)
#2D5047
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e5316;
/* rgb */ color: rgb(46, 83, 22);
/* oklch */ color: oklch(40.0% 0.099 135.4);
Tailwind
colors: {
  custom: {
    50: '#6a8357',
    500: '#2e5316',
    950: '#000000',
  },
}
SCSS
$custom: #2e5316;
$custom-light: #6a8357;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5316",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 22
  },
  "hsl": {
    "h": 96.393,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40017,
    "c": 0.09877,
    "h": 135.4
  },
  "luminance": 0.06825
}

Semantic roles & 50–950 ramp

primary
#2E5316
secondary
#6B3A8A
accent
#46E1A4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5316

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

Preview Lab → · Contrast checker → · Palette generator →

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