#2E5014#2E5014

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

Color values

HEX#2E5014
RGBrgb(46, 80, 20)
HSLhsl(94, 60%, 20%)
HSVhsv(94, 75%, 31%)
CMYKcmyk(42.5%, 0%, 75%, 68.6%)
CIE-LABlab(30.32, -24.01, 30.14)
CIE-LCHlch(30.32, 38.53, 128.54°)
OKLaboklab(39.13% -0.0671 0.0686)
OKLCHoklch(39.13% 0.096 134.4)
XYZxyz(4.1216, 6.3685, 1.6738)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5014 #361450
analogous
#4C5014 #2E5014 #145018
triadic
#2E5014 #142E50 #50142E
tetradic
#2E5014 #144C50 #361450 #501814
square
#2E5014 #144C50 #361450 #501814
split-complementary
#2E5014 #181450 #50144C
monochromatic
#0E1806 #121F08 #2E5014 #4A8120 #66B22C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E5014#FFFFFF#000000##FFFFFF
##2E50141.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)
#53490B
Deuteranopia (green-blind)
#4F4619
Tritanopia (blue-blind)
#2E4D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e5014;
/* rgb */ color: rgb(46, 80, 20);
/* oklch */ color: oklch(39.1% 0.096 134.4);
Tailwind
colors: {
  custom: {
    50: '#6a8155',
    500: '#2e5014',
    950: '#000000',
  },
}
SCSS
$custom: #2e5014;
$custom-light: #6a8155;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5014",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 94,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39126,
    "c": 0.09592,
    "h": 134.4
  },
  "luminance": 0.06369
}

Semantic roles & 50–950 ramp

primary
#2E5014
secondary
#653888
accent
#45E39E
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E5014

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

Preview Lab → · Contrast checker → · Palette generator →

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