#0F5A15#0F5A15

#0F5A15 is a dark, vivid green. Relative luminance 0.075; OKLCH L 40.9% C 0.123 H 143.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#0F5A15
RGBrgb(15, 90, 21)
HSLhsl(125, 71%, 21%)
HSVhsv(125, 83%, 35%)
CMYKcmyk(83.3%, 0%, 76.7%, 64.7%)
CIE-LABlab(32.85, -36.81, 31.98)
CIE-LCHlch(32.85, 48.76, 139.01°)
OKLaboklab(40.9% -0.0996 0.0729)
OKLCHoklch(40.9% 0.123 143.8)
XYZxyz(3.9883, 7.4676, 1.9405)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A15 #5A0F54
analogous
#2E5A0F #0F5A15 #0F5A3A
triadic
#0F5A15 #150F5A #5A150F
tetradic
#0F5A15 #0F2E5A #5A0F54 #5A3A0F
square
#0F5A15 #0F2E5A #5A0F54 #5A3A0F
split-complementary
#0F5A15 #3A0F5A #5A0F2E
monochromatic
#041A06 #062609 #0F5A15 #188E21 #20C32D

Accessibility & contrast

On white

8.42
#0F5A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#0F5A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A15
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A15#FFFFFF#000000##FFFFFF
##0F5A151.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510A
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#00574C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0f5a15;
/* rgb */ color: rgb(15, 90, 21);
/* oklch */ color: oklch(40.9% 0.123 143.8);
Tailwind
colors: {
  custom: {
    50: '#5d8957',
    500: '#0f5a15',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a15;
$custom-light: #5d8957;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a15",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 21
  },
  "hsl": {
    "h": 124.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40902,
    "c": 0.12342,
    "h": 143.8
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

primary
#0F5A15
secondary
#94318C
accent
#3AE0EE
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0F5A15

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

Preview Lab → · Contrast checker → · Palette generator →

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