#2E5E15#2E5E15

#2E5E15 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.2% C 0.115 H 137.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2E5E15
RGBrgb(46, 94, 21)
HSLhsl(99, 63%, 23%)
HSVhsv(99, 78%, 37%)
CMYKcmyk(51.1%, 0%, 77.7%, 63.1%)
CIE-LABlab(35.28, -30.45, 34.78)
CIE-LCHlch(35.28, 46.23, 131.19°)
OKLaboklab(43.19% -0.0844 0.0785)
OKLCHoklch(43.19% 0.115 137.1)
XYZxyz(5.2646, 8.6400, 2.0996)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5E15 #45155E
analogous
#525E15 #2E5E15 #155E21
triadic
#2E5E15 #152E5E #5E152E
tetradic
#2E5E15 #15525E #45155E #5E2115
square
#2E5E15 #15525E #45155E #5E2115
split-complementary
#2E5E15 #21155E #5E1552
monochromatic
#0C1906 #162C0A #2E5E15 #469020 #5FC22B

Accessibility & contrast

On white

7.70
#2E5E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2E5E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5E15
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5E15#FFFFFF#000000##FFFFFF
##2E5E151.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615508
Deuteranopia (green-blind)
#5B511C
Tritanopia (blue-blind)
#2B5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e5e15;
/* rgb */ color: rgb(46, 94, 21);
/* oklch */ color: oklch(43.2% 0.115 137.1);
Tailwind
colors: {
  custom: {
    50: '#6c8c58',
    500: '#2e5e15',
    950: '#000000',
  },
}
SCSS
$custom: #2e5e15;
$custom-light: #6c8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5e15",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 21
  },
  "hsl": {
    "h": 99.452,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43193,
    "c": 0.11526,
    "h": 137.1
  },
  "luminance": 0.0864
}

Semantic roles & 50–950 ramp

primary
#2E5E15
secondary
#763995
accent
#41E7AE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5E15

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

Preview Lab → · Contrast checker → · Palette generator →

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