#2E5013#2E5013

#2E5013 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.1% C 0.097 H 134.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#2E5013
RGBrgb(46, 80, 19)
HSLhsl(93, 62%, 19%)
HSVhsv(93, 76%, 31%)
CMYKcmyk(42.5%, 0%, 76.3%, 68.6%)
CIE-LABlab(30.32, -24.10, 30.58)
CIE-LCHlch(30.32, 38.94, 128.23°)
OKLaboklab(39.12% -0.0674 0.0694)
OKLCHoklch(39.12% 0.097 134.2)
XYZxyz(4.1128, 6.3650, 1.6278)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5013 #351350
analogous
#4D5013 #2E5013 #135017
triadic
#2E5013 #132E50 #50132E
tetradic
#2E5013 #134D50 #351350 #501713
square
#2E5013 #134D50 #351350 #501713
split-complementary
#2E5013 #171350 #50134D
monochromatic
#0E1906 #121F07 #2E5013 #4A811F #67B32A

Accessibility & contrast

On white

9.24
#2E5013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2E5013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5013
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5013#FFFFFF#000000##FFFFFF
##2E50131.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490A
Deuteranopia (green-blind)
#4F4619
Tritanopia (blue-blind)
#2E4D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e5013;
/* rgb */ color: rgb(46, 80, 19);
/* oklch */ color: oklch(39.1% 0.097 134.2);
Tailwind
colors: {
  custom: {
    50: '#6a8155',
    500: '#2e5013',
    950: '#000000',
  },
}
SCSS
$custom: #2e5013;
$custom-light: #6a8155;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5013",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 93.443,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39117,
    "c": 0.0967,
    "h": 134.2
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#2E5013
secondary
#643689
accent
#43E59D
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E5013

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

Preview Lab → · Contrast checker → · Palette generator →

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