#2E5C15#2E5C15

#2E5C15 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.6% C 0.112 H 136.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2E5C15
RGBrgb(46, 92, 21)
HSLhsl(99, 63%, 22%)
HSVhsv(99, 77%, 36%)
CMYKcmyk(50%, 0%, 77.2%, 63.9%)
CIE-LABlab(34.58, -29.55, 34.07)
CIE-LCHlch(34.58, 45.10, 130.94°)
OKLaboklab(42.61% -0.082 0.077)
OKLCHoklch(42.61% 0.112 136.8)
XYZxyz(5.0891, 8.2889, 2.0411)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5C15 #43155C
analogous
#525C15 #2E5C15 #155C1F
triadic
#2E5C15 #152E5C #5C152E
tetradic
#2E5C15 #15525C #43155C #5C1F15
square
#2E5C15 #15525C #43155C #5C1F15
split-complementary
#2E5C15 #1F155C #5C1552
monochromatic
#0C1906 #152A0A #2E5C15 #478E20 #60C02C

Accessibility & contrast

On white

7.90
#2E5C15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2E5C15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5C15
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5C15#FFFFFF#000000##FFFFFF
##2E5C151.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5409
Deuteranopia (green-blind)
#59501C
Tritanopia (blue-blind)
#2C584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e5c15;
/* rgb */ color: rgb(46, 92, 21);
/* oklch */ color: oklch(42.6% 0.112 136.8);
Tailwind
colors: {
  custom: {
    50: '#6c8a57',
    500: '#2e5c15',
    950: '#000000',
  },
}
SCSS
$custom: #2e5c15;
$custom-light: #6c8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5c15",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 21
  },
  "hsl": {
    "h": 98.873,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42615,
    "c": 0.11247,
    "h": 136.8
  },
  "luminance": 0.08289
}

Semantic roles & 50–950 ramp

primary
#2E5C15
secondary
#743993
accent
#42E6AC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5C15

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

Preview Lab → · Contrast checker → · Palette generator →

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