#0F4F15#0F4F15

#0F4F15 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.109 H 144.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#0F4F15
RGBrgb(15, 79, 21)
HSLhsl(126, 68%, 18%)
HSVhsv(126, 81%, 31%)
CMYKcmyk(81%, 0%, 73.4%, 69%)
CIE-LABlab(28.77, -32.72, 27.65)
CIE-LCHlch(28.77, 42.84, 139.80°)
OKLaboklab(37.51% -0.0885 0.0638)
OKLCHoklch(37.51% 0.109 144.2)
XYZxyz(3.1281, 5.7473, 1.6538)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F15 #4F0F49
analogous
#294F0F #0F4F15 #0F4F35
triadic
#0F4F15 #150F4F #4F150F
tetradic
#0F4F15 #0F294F #4F0F49 #4F350F
square
#0F4F15 #0F294F #4F0F49 #4F350F
split-complementary
#0F4F15 #350F4F #4F0F29
monochromatic
#051A07 #051C07 #0F4F15 #198223 #23B630

Accessibility & contrast

On white

9.77
#0F4F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#0F4F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4F15
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F15#FFFFFF#000000##FFFFFF
##0F4F151.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470D
Deuteranopia (green-blind)
#49421A
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0f4f15;
/* rgb */ color: rgb(15, 79, 21);
/* oklch */ color: oklch(37.5% 0.109 144.2);
Tailwind
colors: {
  custom: {
    50: '#5a8155',
    500: '#0f4f15',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f15;
$custom-light: #5a8155;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f15",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 21
  },
  "hsl": {
    "h": 125.625,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37512,
    "c": 0.10911,
    "h": 144.2
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#0F4F15
secondary
#893181
accent
#3DDBEB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4F15

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

Preview Lab → · Contrast checker → · Palette generator →

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