#2E5F15#2E5F15

#2E5F15 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.5% C 0.117 H 137.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2E5F15
RGBrgb(46, 95, 21)
HSLhsl(100, 64%, 23%)
HSVhsv(100, 78%, 37%)
CMYKcmyk(51.6%, 0%, 77.9%, 62.7%)
CIE-LABlab(35.63, -30.89, 35.14)
CIE-LCHlch(35.63, 46.79, 131.32°)
OKLaboklab(43.48% -0.0856 0.0792)
OKLCHoklch(43.48% 0.117 137.2)
XYZxyz(5.3541, 8.8190, 2.1294)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5F15 #46155F
analogous
#535F15 #2E5F15 #155F21
triadic
#2E5F15 #152E5F #5F152E
tetradic
#2E5F15 #15535F #46155F #5F2115
square
#2E5F15 #15535F #46155F #5F2115
split-complementary
#2E5F15 #21155F #5F1553
monochromatic
#0C1906 #162D0A #2E5F15 #469120 #5FC32B

Accessibility & contrast

On white

7.60
#2E5F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2E5F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5F15
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5F15#FFFFFF#000000##FFFFFF
##2E5F151.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625608
Deuteranopia (green-blind)
#5C521C
Tritanopia (blue-blind)
#2B5B51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e5f15;
/* rgb */ color: rgb(46, 95, 21);
/* oklch */ color: oklch(43.5% 0.117 137.2);
Tailwind
colors: {
  custom: {
    50: '#6c8d58',
    500: '#2e5f15',
    950: '#000000',
  },
}
SCSS
$custom: #2e5f15;
$custom-light: #6c8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5f15",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 99.73,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43482,
    "c": 0.11663,
    "h": 137.2
  },
  "luminance": 0.08819
}

Semantic roles & 50–950 ramp

primary
#2E5F15
secondary
#773A96
accent
#41E7AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5F15

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

Preview Lab → · Contrast checker → · Palette generator →

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