#2E5019#2E5019

#2E5019 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.2% C 0.092 H 135.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2E5019
RGBrgb(46, 80, 25)
HSLhsl(97, 52%, 21%)
HSVhsv(97, 69%, 31%)
CMYKcmyk(42.5%, 0%, 68.8%, 68.6%)
CIE-LABlab(30.37, -23.52, 27.78)
CIE-LCHlch(30.37, 36.40, 130.25°)
OKLaboklab(39.18% -0.0653 0.0643)
OKLCHoklch(39.18% 0.092 135.4)
XYZxyz(4.1707, 6.3881, 1.9328)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5019 #3B1950
analogous
#495019 #2E5019 #19501F
triadic
#2E5019 #192E50 #50192E
tetradic
#2E5019 #194950 #3B1950 #501F19
square
#2E5019 #194950 #3B1950 #501F19
split-complementary
#2E5019 #1F1950 #501949
monochromatic
#0D1707 #13210A #2E5019 #497F28 #64AD36

Accessibility & contrast

On white

9.22
#2E5019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E5019
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5019#FFFFFF#000000##FFFFFF
##2E50191.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534912
Deuteranopia (green-blind)
#4E461D
Tritanopia (blue-blind)
#2D4D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e5019;
/* rgb */ color: rgb(46, 80, 25);
/* oklch */ color: oklch(39.2% 0.092 135.4);
Tailwind
colors: {
  custom: {
    50: '#6a8158',
    500: '#2e5019',
    950: '#000000',
  },
}
SCSS
$custom: #2e5019;
$custom-light: #6a8158;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5019",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 25
  },
  "hsl": {
    "h": 97.091,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39181,
    "c": 0.09165,
    "h": 135.4
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#2E5019
secondary
#6B3E86
accent
#4CDCA5
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E5019

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

Preview Lab → · Contrast checker → · Palette generator →

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