#0F5E17#0F5E17

#0F5E17 is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.1% C 0.127 H 144.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#0F5E17
RGBrgb(15, 94, 23)
HSLhsl(126, 72%, 21%)
HSVhsv(126, 84%, 37%)
CMYKcmyk(84%, 0%, 75.5%, 63.1%)
CIE-LABlab(34.33, -38.04, 32.66)
CIE-LCHlch(34.33, 50.13, 139.35°)
OKLaboklab(42.14% -0.1028 0.0746)
OKLCHoklch(42.14% 0.127 144.1)
XYZxyz(4.3541, 8.1683, 2.1576)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5E17 #5E0F56
analogous
#2F5E0F #0F5E17 #0F5E3F
triadic
#0F5E17 #170F5E #5E170F
tetradic
#0F5E17 #0F2F5E #5E0F56 #5E3F0F
square
#0F5E17 #0F2F5E #5E0F56 #5E3F0F
split-complementary
#0F5E17 #3F0F5E #5E0F2F
monochromatic
#041A06 #07290A #0F5E17 #179324 #20C831

Accessibility & contrast

On white

7.97
#0F5E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#0F5E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5E17
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5E17#FFFFFF#000000##FFFFFF
##0F5E171.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540C
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5e17;
/* rgb */ color: rgb(15, 94, 23);
/* oklch */ color: oklch(42.1% 0.127 144.1);
Tailwind
colors: {
  custom: {
    50: '#5e8d59',
    500: '#0f5e17',
    950: '#000000',
  },
}
SCSS
$custom: #0f5e17;
$custom-light: #5e8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5e17",
  "rgb": {
    "r": 15,
    "g": 94,
    "b": 23
  },
  "hsl": {
    "h": 126.076,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4214,
    "c": 0.12704,
    "h": 144.1
  },
  "luminance": 0.08169
}

Semantic roles & 50–950 ramp

primary
#0F5E17
secondary
#97318D
accent
#39DDEF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5E17

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

Preview Lab → · Contrast checker → · Palette generator →

#0F5E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva