#2E5313#2E5313

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

Color values

HEX#2E5313
RGBrgb(46, 83, 19)
HSLhsl(95, 63%, 20%)
HSVhsv(95, 77%, 33%)
CMYKcmyk(44.6%, 0%, 77.1%, 67.5%)
CIE-LABlab(31.38, -25.55, 31.68)
CIE-LCHlch(31.38, 40.69, 128.89°)
OKLaboklab(39.99% -0.0713 0.0716)
OKLCHoklch(39.99% 0.101 134.9)
XYZxyz(4.3374, 6.8141, 1.7027)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5313 #381353
analogous
#4E5313 #2E5313 #135318
triadic
#2E5313 #132E53 #53132E
tetradic
#2E5313 #134E53 #381353 #531813
square
#2E5313 #134E53 #381353 #531813
split-complementary
#2E5313 #181353 #53134E
monochromatic
#0E1906 #122108 #2E5313 #4A851E #65B72A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E5313#FFFFFF#000000##FFFFFF
##2E53131.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)
#564C09
Deuteranopia (green-blind)
#514919
Tritanopia (blue-blind)
#2D5046
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e5313;
/* rgb */ color: rgb(46, 83, 19);
/* oklch */ color: oklch(40.0% 0.101 134.9);
Tailwind
colors: {
  custom: {
    50: '#6a8355',
    500: '#2e5313',
    950: '#000000',
  },
}
SCSS
$custom: #2e5313;
$custom-light: #6a8355;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5313",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 19
  },
  "hsl": {
    "h": 94.688,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.39988,
    "c": 0.1011,
    "h": 134.9
  },
  "luminance": 0.06814
}

Semantic roles & 50–950 ramp

primary
#2E5313
secondary
#68368B
accent
#42E6A1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5313

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

Preview Lab → · Contrast checker → · Palette generator →

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