#0F4D18#0F4D18

#0F4D18 is a dark, moderate green. Relative luminance 0.055; OKLCH L 36.9% C 0.104 H 145.2°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#0F4D18
RGBrgb(15, 77, 24)
HSLhsl(129, 67%, 18%)
HSVhsv(129, 81%, 30%)
CMYKcmyk(80.5%, 0%, 68.8%, 69.8%)
CIE-LABlab(28.05, -31.57, 25.36)
CIE-LCHlch(28.05, 40.49, 141.23°)
OKLaboklab(36.93% -0.0852 0.0593)
OKLCHoklch(36.93% 0.104 145.2)
XYZxyz(3.0155, 5.4749, 1.7618)
Luminance0.0548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D18 #4D0F44
analogous
#254D0F #0F4D18 #0F4D37
triadic
#0F4D18 #180F4D #4D180F
tetradic
#0F4D18 #0F254D #4D0F44 #4D370F
square
#0F4D18 #0F254D #4D0F44 #4D370F
split-complementary
#0F4D18 #370F4D #4D0F25
monochromatic
#051A08 #051A08 #0F4D18 #198028 #23B338

Accessibility & contrast

On white

10.02
#0F4D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#0F4D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4D18
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4D18#FFFFFF#000000##FFFFFF
##0F4D181.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4512
Deuteranopia (green-blind)
#47401D
Tritanopia (blue-blind)
#004B42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0f4d18;
/* rgb */ color: rgb(15, 77, 24);
/* oklch */ color: oklch(36.9% 0.104 145.2);
Tailwind
colors: {
  custom: {
    50: '#597f57',
    500: '#0f4d18',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d18;
$custom-light: #597f57;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d18",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 24
  },
  "hsl": {
    "h": 128.71,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36926,
    "c": 0.10383,
    "h": 145.2
  },
  "luminance": 0.05475
}

Semantic roles & 50–950 ramp

primary
#0F4D18
secondary
#87317B
accent
#3ED1EA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4D18

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

Preview Lab → · Contrast checker → · Palette generator →

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