#0F5C12#0F5C12

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

Color values

HEX#0F5C12
RGBrgb(15, 92, 18)
HSLhsl(122, 72%, 21%)
HSVhsv(122, 84%, 36%)
CMYKcmyk(83.7%, 0%, 80.4%, 63.9%)
CIE-LABlab(33.56, -37.80, 33.94)
CIE-LCHlch(33.56, 50.80, 138.08°)
OKLaboklab(41.49% -0.1024 0.0766)
OKLCHoklch(41.49% 0.128 143.2)
XYZxyz(4.1331, 7.7990, 1.8597)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C12 #5C0F59
analogous
#325C0F #0F5C12 #0F5C38
triadic
#0F5C12 #120F5C #5C120F
tetradic
#0F5C12 #0F325C #5C0F59 #5C380F
square
#0F5C12 #0F325C #5C0F59 #5C380F
split-complementary
#0F5C12 #380F5C #5C0F32
monochromatic
#041A05 #062708 #0F5C12 #18911C #20C527

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5C12#FFFFFF#000000##FFFFFF
##0F5C121.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)
#5E5204
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5c12;
/* rgb */ color: rgb(15, 92, 18);
/* oklch */ color: oklch(41.5% 0.128 143.2);
Tailwind
colors: {
  custom: {
    50: '#5e8b56',
    500: '#0f5c12',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c12;
$custom-light: #5e8b56;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c12",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 122.338,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41487,
    "c": 0.12789,
    "h": 143.2
  },
  "luminance": 0.078
}

Semantic roles & 50–950 ramp

primary
#0F5C12
secondary
#953192
accent
#39E8EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0F5C12

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

Preview Lab → · Contrast checker → · Palette generator →

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