#0F5115#0F5115

#0F5115 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.112 H 144.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#0F5115
RGBrgb(15, 81, 21)
HSLhsl(125, 69%, 19%)
HSVhsv(125, 81%, 32%)
CMYKcmyk(81.5%, 0%, 74.1%, 68.2%)
CIE-LABlab(29.51, -33.48, 28.46)
CIE-LCHlch(29.51, 43.94, 139.64°)
OKLaboklab(38.13% -0.0906 0.0655)
OKLCHoklch(38.13% 0.112 144.1)
XYZxyz(3.2746, 6.0402, 1.7026)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5115 #510F4B
analogous
#2A510F #0F5115 #0F5136
triadic
#0F5115 #150F51 #51150F
tetradic
#0F5115 #0F2A51 #510F4B #51360F
square
#0F5115 #0F2A51 #510F4B #51360F
split-complementary
#0F5115 #360F51 #510F2A
monochromatic
#051A07 #051D08 #0F5115 #198522 #22B830

Accessibility & contrast

On white

9.51
#0F5115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#0F5115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5115
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5115#FFFFFF#000000##FFFFFF
##0F51151.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490D
Deuteranopia (green-blind)
#4B441B
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f5115;
/* rgb */ color: rgb(15, 81, 21);
/* oklch */ color: oklch(38.1% 0.112 144.1);
Tailwind
colors: {
  custom: {
    50: '#5a8356',
    500: '#0f5115',
    950: '#000000',
  },
}
SCSS
$custom: #0f5115;
$custom-light: #5a8356;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5115",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 125.455,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38132,
    "c": 0.11178,
    "h": 144.1
  },
  "luminance": 0.06041
}

Semantic roles & 50–950 ramp

primary
#0F5115
secondary
#8B3183
accent
#3CDCEC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F5115

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

Preview Lab → · Contrast checker → · Palette generator →

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