#0F5C17#0F5C17

#0F5C17 is a dark, vivid green. Relative luminance 0.078; OKLCH L 41.5% C 0.125 H 144.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#0F5C17
RGBrgb(15, 92, 23)
HSLhsl(126, 72%, 21%)
HSVhsv(126, 84%, 36%)
CMYKcmyk(83.7%, 0%, 75%, 63.9%)
CIE-LABlab(33.60, -37.32, 31.89)
CIE-LCHlch(33.60, 49.09, 139.49°)
OKLaboklab(41.53% -0.1009 0.073)
OKLCHoklch(41.53% 0.125 144.1)
XYZxyz(4.1785, 7.8172, 2.0991)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C17 #5C0F54
analogous
#2D5C0F #0F5C17 #0F5C3D
triadic
#0F5C17 #170F5C #5C170F
tetradic
#0F5C17 #0F2D5C #5C0F54 #5C3D0F
square
#0F5C17 #0F2D5C #5C0F54 #5C3D0F
split-complementary
#0F5C17 #3D0F5C #5C0F2D
monochromatic
#041A07 #06270A #0F5C17 #189124 #20C531

Accessibility & contrast

On white

8.19
#0F5C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#0F5C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5C17
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5C17#FFFFFF#000000##FFFFFF
##0F5C171.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530C
Deuteranopia (green-blind)
#554D1E
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5c17;
/* rgb */ color: rgb(15, 92, 23);
/* oklch */ color: oklch(41.5% 0.125 144.1);
Tailwind
colors: {
  custom: {
    50: '#5d8b58',
    500: '#0f5c17',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c17;
$custom-light: #5d8b58;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c17",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 23
  },
  "hsl": {
    "h": 126.234,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41532,
    "c": 0.12453,
    "h": 144.1
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#0F5C17
secondary
#95318B
accent
#39DCEF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0F5C17

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

Preview Lab → · Contrast checker → · Palette generator →

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