#0F5C15#0F5C15

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

Color values

HEX#0F5C15
RGBrgb(15, 92, 21)
HSLhsl(125, 72%, 21%)
HSVhsv(125, 84%, 36%)
CMYKcmyk(83.7%, 0%, 77.2%, 63.9%)
CIE-LABlab(33.58, -37.52, 32.74)
CIE-LCHlch(33.58, 49.80, 138.90°)
OKLaboklab(41.51% -0.1015 0.0745)
OKLCHoklch(41.51% 0.126 143.7)
XYZxyz(4.1592, 7.8095, 1.9975)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C15 #5C0F56
analogous
#2F5C0F #0F5C15 #0F5C3B
triadic
#0F5C15 #150F5C #5C150F
tetradic
#0F5C15 #0F2F5C #5C0F56 #5C3B0F
square
#0F5C15 #0F2F5C #5C0F56 #5C3B0F
split-complementary
#0F5C15 #3B0F5C #5C0F2F
monochromatic
#041A06 #062709 #0F5C15 #189121 #20C52D

Accessibility & contrast

On white

8.20
#0F5C15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5C15
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5C15#FFFFFF#000000##FFFFFF
##0F5C151.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5309
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5c15;
/* rgb */ color: rgb(15, 92, 21);
/* oklch */ color: oklch(41.5% 0.126 143.7);
Tailwind
colors: {
  custom: {
    50: '#5e8b57',
    500: '#0f5c15',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c15;
$custom-light: #5e8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c15",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 21
  },
  "hsl": {
    "h": 124.675,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41513,
    "c": 0.12594,
    "h": 143.7
  },
  "luminance": 0.0781
}

Semantic roles & 50–950 ramp

primary
#0F5C15
secondary
#95318E
accent
#39E1EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0F5C15

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

Preview Lab → · Contrast checker → · Palette generator →

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