#0F5F12#0F5F12

#0F5F12 is a dark, vivid green. Relative luminance 0.083; OKLCH L 42.4% C 0.132 H 143.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#0F5F12
RGBrgb(15, 95, 18)
HSLhsl(122, 73%, 22%)
HSVhsv(122, 84%, 37%)
CMYKcmyk(84.2%, 0%, 81.1%, 62.7%)
CIE-LABlab(34.66, -38.85, 35.03)
CIE-LCHlch(34.66, 52.32, 137.96°)
OKLaboklab(42.4% -0.1053 0.0788)
OKLCHoklch(42.4% 0.132 143.2)
XYZxyz(4.3981, 8.3291, 1.9480)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F12 #5F0F5C
analogous
#345F0F #0F5F12 #0F5F3A
triadic
#0F5F12 #120F5F #5F120F
tetradic
#0F5F12 #0F345F #5F0F5C #5F3A0F
square
#0F5F12 #0F345F #5F0F5C #5F3A0F
split-complementary
#0F5F12 #3A0F5F #5F0F34
monochromatic
#041A05 #072A08 #0F5F12 #17941C #20C926

Accessibility & contrast

On white

7.88
#0F5F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#0F5F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5F12
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5F12#FFFFFF#000000##FFFFFF
##0F5F121.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#594F1B
Tritanopia (blue-blind)
#005C50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5f12;
/* rgb */ color: rgb(15, 95, 18);
/* oklch */ color: oklch(42.4% 0.132 143.2);
Tailwind
colors: {
  custom: {
    50: '#5f8d56',
    500: '#0f5f12',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f12;
$custom-light: #5f8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f12",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 122.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42401,
    "c": 0.13155,
    "h": 143.2
  },
  "luminance": 0.0833
}

Semantic roles & 50–950 ramp

primary
#0F5F12
secondary
#983294
accent
#38E9EF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #0F5F12

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

Preview Lab → · Contrast checker → · Palette generator →

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