#2E5715#2E5715

#2E5715 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.2% C 0.105 H 136.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#2E5715
RGBrgb(46, 87, 21)
HSLhsl(97, 61%, 21%)
HSVhsv(97, 76%, 34%)
CMYKcmyk(47.1%, 0%, 75.9%, 65.9%)
CIE-LABlab(32.81, -27.27, 32.27)
CIE-LCHlch(32.81, 42.25, 130.19°)
OKLaboklab(41.17% -0.0758 0.0732)
OKLCHoklch(41.17% 0.105 136)
XYZxyz(4.6701, 7.4511, 1.9014)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5715 #3E1557
analogous
#4F5715 #2E5715 #15571D
triadic
#2E5715 #152E57 #57152E
tetradic
#2E5715 #154F57 #3E1557 #571D15
square
#2E5715 #154F57 #3E1557 #571D15
split-complementary
#2E5715 #1D1557 #57154F
monochromatic
#0D1906 #142609 #2E5715 #488821 #62BA2D

Accessibility & contrast

On white

8.43
#2E5715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E5715
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5715#FFFFFF#000000##FFFFFF
##2E57151.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0B
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#2C544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e5715;
/* rgb */ color: rgb(46, 87, 21);
/* oklch */ color: oklch(41.2% 0.105 136.0);
Tailwind
colors: {
  custom: {
    50: '#6b8757',
    500: '#2e5715',
    950: '#000000',
  },
}
SCSS
$custom: #2e5715;
$custom-light: #6b8757;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5715",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 21
  },
  "hsl": {
    "h": 97.273,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41166,
    "c": 0.10539,
    "h": 136
  },
  "luminance": 0.07451
}

Semantic roles & 50–950 ramp

primary
#2E5715
secondary
#6E398F
accent
#44E4A7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5715

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

Preview Lab → · Contrast checker → · Palette generator →

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