#0F5D17#0F5D17

#0F5D17 is a dark, vivid green. Relative luminance 0.080; OKLCH L 41.8% C 0.126 H 144.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#0F5D17
RGBrgb(15, 93, 23)
HSLhsl(126, 72%, 21%)
HSVhsv(126, 84%, 36%)
CMYKcmyk(83.9%, 0%, 75.3%, 63.5%)
CIE-LABlab(33.97, -37.68, 32.27)
CIE-LCHlch(33.97, 49.61, 139.42°)
OKLaboklab(41.84% -0.1019 0.0738)
OKLCHoklch(41.84% 0.126 144.1)
XYZxyz(4.2657, 7.9916, 2.1282)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D17 #5D0F55
analogous
#2E5D0F #0F5D17 #0F5D3E
triadic
#0F5D17 #170F5D #5D170F
tetradic
#0F5D17 #0F2E5D #5D0F55 #5D3E0F
square
#0F5D17 #0F2E5D #5D0F55 #5D3E0F
split-complementary
#0F5D17 #3E0F5D #5D0F2E
monochromatic
#041A07 #06280A #0F5D17 #179224 #20C631

Accessibility & contrast

On white

8.08
#0F5D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#0F5D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5D17
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D17#FFFFFF#000000##FFFFFF
##0F5D171.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F530C
Deuteranopia (green-blind)
#564E1E
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5d17;
/* rgb */ color: rgb(15, 93, 23);
/* oklch */ color: oklch(41.8% 0.126 144.1);
Tailwind
colors: {
  custom: {
    50: '#5e8c58',
    500: '#0f5d17',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d17;
$custom-light: #5e8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d17",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 126.154,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41836,
    "c": 0.12579,
    "h": 144.1
  },
  "luminance": 0.07992
}

Semantic roles & 50–950 ramp

primary
#0F5D17
secondary
#96318C
accent
#39DCEF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0F5D17

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

Preview Lab → · Contrast checker → · Palette generator →

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