#2E5515#2E5515

#2E5515 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.6% C 0.102 H 135.6°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#2E5515
RGBrgb(46, 85, 21)
HSLhsl(97, 60%, 21%)
HSVhsv(97, 75%, 33%)
CMYKcmyk(45.9%, 0%, 75.3%, 66.7%)
CIE-LABlab(32.10, -26.33, 31.54)
CIE-LCHlch(32.10, 41.08, 129.85°)
OKLaboklab(40.59% -0.0733 0.0717)
OKLCHoklch(40.59% 0.102 135.6)
XYZxyz(4.5105, 7.1317, 1.8482)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5515 #3C1555
analogous
#4E5515 #2E5515 #15551C
triadic
#2E5515 #152E55 #55152E
tetradic
#2E5515 #154E55 #3C1555 #551C15
square
#2E5515 #154E55 #3C1555 #551C15
split-complementary
#2E5515 #1C1555 #55154E
monochromatic
#0D1906 #132409 #2E5515 #498621 #63B72D

Accessibility & contrast

On white

8.65
#2E5515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2E5515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5515
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5515#FFFFFF#000000##FFFFFF
##2E55151.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E0B
Deuteranopia (green-blind)
#534A1B
Tritanopia (blue-blind)
#2D5248
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e5515;
/* rgb */ color: rgb(46, 85, 21);
/* oklch */ color: oklch(40.6% 0.102 135.6);
Tailwind
colors: {
  custom: {
    50: '#6b8557',
    500: '#2e5515',
    950: '#000000',
  },
}
SCSS
$custom: #2e5515;
$custom-light: #6b8557;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5515",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 21
  },
  "hsl": {
    "h": 96.563,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40587,
    "c": 0.10249,
    "h": 135.6
  },
  "luminance": 0.07132
}

Semantic roles & 50–950 ramp

primary
#2E5515
secondary
#6C398D
accent
#44E4A5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5515

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

Preview Lab → · Contrast checker → · Palette generator →

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