#0F5118#0F5118

#0F5118 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.2% C 0.109 H 144.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#0F5118
RGBrgb(15, 81, 24)
HSLhsl(128, 69%, 19%)
HSVhsv(128, 81%, 32%)
CMYKcmyk(81.5%, 0%, 70.4%, 68.2%)
CIE-LABlab(29.54, -33.12, 27.03)
CIE-LCHlch(29.54, 42.75, 140.78°)
OKLaboklab(38.17% -0.0894 0.0629)
OKLCHoklch(38.17% 0.109 144.9)
XYZxyz(3.3041, 6.0520, 1.8580)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5118 #510F48
analogous
#27510F #0F5118 #0F5139
triadic
#0F5118 #180F51 #51180F
tetradic
#0F5118 #0F2751 #510F48 #51390F
square
#0F5118 #0F2751 #510F48 #51390F
split-complementary
#0F5118 #390F51 #510F27
monochromatic
#051A08 #051D09 #0F5118 #198527 #22B837

Accessibility & contrast

On white

9.50
#0F5118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5118
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5118#FFFFFF#000000##FFFFFF
##0F51181.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534911
Deuteranopia (green-blind)
#4B441D
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f5118;
/* rgb */ color: rgb(15, 81, 24);
/* oklch */ color: oklch(38.2% 0.109 144.9);
Tailwind
colors: {
  custom: {
    50: '#5a8358',
    500: '#0f5118',
    950: '#000000',
  },
}
SCSS
$custom: #0f5118;
$custom-light: #5a8358;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5118",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 24
  },
  "hsl": {
    "h": 128.182,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38167,
    "c": 0.10933,
    "h": 144.9
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

primary
#0F5118
secondary
#8B317F
accent
#3CD4EC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F5118

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

Preview Lab → · Contrast checker → · Palette generator →

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