#0F4E18#0F4E18

#0F4E18 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.2% C 0.105 H 145.1°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#0F4E18
RGBrgb(15, 78, 24)
HSLhsl(129, 68%, 18%)
HSVhsv(129, 81%, 31%)
CMYKcmyk(80.8%, 0%, 69.2%, 69.4%)
CIE-LABlab(28.42, -31.96, 25.78)
CIE-LCHlch(28.42, 41.06, 141.11°)
OKLaboklab(37.24% -0.0863 0.0602)
OKLCHoklch(37.24% 0.105 145.1)
XYZxyz(3.0860, 5.6159, 1.7853)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4E18 #4E0F45
analogous
#254E0F #0F4E18 #0F4E37
triadic
#0F4E18 #180F4E #4E180F
tetradic
#0F4E18 #0F254E #4E0F45 #4E370F
square
#0F4E18 #0F254E #4E0F45 #4E370F
split-complementary
#0F4E18 #370F4E #4E0F25
monochromatic
#051A08 #051B08 #0F4E18 #198128 #23B538

Accessibility & contrast

On white

9.89
#0F4E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#0F4E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4E18
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4E18#FFFFFF#000000##FFFFFF
##0F4E181.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4612
Deuteranopia (green-blind)
#48411D
Tritanopia (blue-blind)
#004C43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0f4e18;
/* rgb */ color: rgb(15, 78, 24);
/* oklch */ color: oklch(37.2% 0.105 145.1);
Tailwind
colors: {
  custom: {
    50: '#598057',
    500: '#0f4e18',
    950: '#000000',
  },
}
SCSS
$custom: #0f4e18;
$custom-light: #598057;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4e18",
  "rgb": {
    "r": 15,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 128.571,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37237,
    "c": 0.10522,
    "h": 145.1
  },
  "luminance": 0.05616
}

Semantic roles & 50–950 ramp

primary
#0F4E18
secondary
#88317C
accent
#3DD2EB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4E18

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

Preview Lab → · Contrast checker → · Palette generator →

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