#2E5016#2E5016

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

Color values

HEX#2E5016
RGBrgb(46, 80, 22)
HSLhsl(95, 57%, 20%)
HSVhsv(95, 73%, 31%)
CMYKcmyk(42.5%, 0%, 72.5%, 68.6%)
CIE-LABlab(30.34, -23.82, 29.22)
CIE-LCHlch(30.34, 37.70, 129.19°)
OKLaboklab(39.15% -0.0664 0.0669)
OKLCHoklch(39.15% 0.094 134.8)
XYZxyz(4.1401, 6.3759, 1.7714)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5016 #381650
analogous
#4B5016 #2E5016 #16501B
triadic
#2E5016 #162E50 #50162E
tetradic
#2E5016 #164B50 #381650 #501B16
square
#2E5016 #164B50 #381650 #501B16
split-complementary
#2E5016 #1B1650 #50164B
monochromatic
#0E1807 #122009 #2E5016 #4A8023 #65B030

Accessibility & contrast

On white

9.23
#2E5016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2E5016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5016
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5016#FFFFFF#000000##FFFFFF
##2E50161.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490E
Deuteranopia (green-blind)
#4F461B
Tritanopia (blue-blind)
#2D4D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e5016;
/* rgb */ color: rgb(46, 80, 22);
/* oklch */ color: oklch(39.1% 0.094 134.8);
Tailwind
colors: {
  custom: {
    50: '#6a8156',
    500: '#2e5016',
    950: '#000000',
  },
}
SCSS
$custom: #2e5016;
$custom-light: #6a8156;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5016",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 22
  },
  "hsl": {
    "h": 95.172,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.39147,
    "c": 0.09428,
    "h": 134.8
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#2E5016
secondary
#683A87
accent
#48E0A1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E5016

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

Preview Lab → · Contrast checker → · Palette generator →

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