#0F4F16#0F4F16

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

Color values

HEX#0F4F16
RGBrgb(15, 79, 22)
HSLhsl(127, 68%, 18%)
HSVhsv(127, 81%, 31%)
CMYKcmyk(81%, 0%, 72.2%, 69%)
CIE-LABlab(28.78, -32.60, 27.18)
CIE-LCHlch(28.78, 42.45, 140.19°)
OKLaboklab(37.52% -0.0881 0.0629)
OKLCHoklch(37.52% 0.108 144.5)
XYZxyz(3.1376, 5.7511, 1.7036)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F16 #4F0F48
analogous
#284F0F #0F4F16 #0F4F36
triadic
#0F4F16 #160F4F #4F160F
tetradic
#0F4F16 #0F284F #4F0F48 #4F360F
square
#0F4F16 #0F284F #4F0F48 #4F360F
split-complementary
#0F4F16 #360F4F #4F0F28
monochromatic
#051A07 #051C08 #0F4F16 #198224 #23B633

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F4F16#FFFFFF#000000##FFFFFF
##0F4F161.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)
#51470F
Deuteranopia (green-blind)
#49421B
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0f4f16;
/* rgb */ color: rgb(15, 79, 22);
/* oklch */ color: oklch(37.5% 0.108 144.5);
Tailwind
colors: {
  custom: {
    50: '#5a8156',
    500: '#0f4f16',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f16;
$custom-light: #5a8156;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f16",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 22
  },
  "hsl": {
    "h": 126.563,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37523,
    "c": 0.10829,
    "h": 144.5
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#0F4F16
secondary
#89317F
accent
#3DD8EB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4F16

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

Preview Lab → · Contrast checker → · Palette generator →

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