#2E5714#2E5714

#2E5714 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.2% C 0.106 H 135.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2E5714
RGBrgb(46, 87, 20)
HSLhsl(97, 63%, 21%)
HSVhsv(97, 77%, 34%)
CMYKcmyk(47.1%, 0%, 77%, 65.9%)
CIE-LABlab(32.80, -27.35, 32.70)
CIE-LCHlch(32.80, 42.63, 129.91°)
OKLaboklab(41.16% -0.0761 0.0739)
OKLCHoklch(41.16% 0.106 135.8)
XYZxyz(4.6611, 7.4475, 1.8536)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5714 #3D1457
analogous
#4F5714 #2E5714 #14571B
triadic
#2E5714 #142E57 #57142E
tetradic
#2E5714 #144F57 #3D1457 #571B14
square
#2E5714 #144F57 #3D1457 #571B14
split-complementary
#2E5714 #1B1457 #57144F
monochromatic
#0D1906 #142509 #2E5714 #48891F #63BB2B

Accessibility & contrast

On white

8.44
#2E5714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2E5714 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5714
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5714#FFFFFF#000000##FFFFFF
##2E57141.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F09
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#2D544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e5714;
/* rgb */ color: rgb(46, 87, 20);
/* oklch */ color: oklch(41.2% 0.106 135.8);
Tailwind
colors: {
  custom: {
    50: '#6b8756',
    500: '#2e5714',
    950: '#000000',
  },
}
SCSS
$custom: #2e5714;
$custom-light: #6b8756;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5714",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 20
  },
  "hsl": {
    "h": 96.716,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41157,
    "c": 0.10612,
    "h": 135.8
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

primary
#2E5714
secondary
#6D388F
accent
#42E6A6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5714

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

Preview Lab → · Contrast checker → · Palette generator →

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