#0F4B18#0F4B18

#0F4B18 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.3% C 0.101 H 145.3°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#0F4B18
RGBrgb(15, 75, 24)
HSLhsl(129, 67%, 18%)
HSVhsv(129, 80%, 29%)
CMYKcmyk(80%, 0%, 68%, 70.6%)
CIE-LABlab(27.30, -30.78, 24.50)
CIE-LCHlch(27.30, 39.34, 141.47°)
OKLaboklab(36.3% -0.0831 0.0575)
OKLCHoklch(36.3% 0.101 145.3)
XYZxyz(2.8778, 5.1993, 1.7159)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4B18 #4B0F42
analogous
#244B0F #0F4B18 #0F4B36
triadic
#0F4B18 #180F4B #4B180F
tetradic
#0F4B18 #0F244B #4B0F42 #4B360F
square
#0F4B18 #0F244B #4B0F42 #4B360F
split-complementary
#0F4B18 #360F4B #4B0F24
monochromatic
#051A08 #051A08 #0F4B18 #197E28 #23B139

Accessibility & contrast

On white

10.29
#0F4B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#0F4B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4B18
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4B18#FFFFFF#000000##FFFFFF
##0F4B181.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4312
Deuteranopia (green-blind)
#453F1C
Tritanopia (blue-blind)
#004940
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0f4b18;
/* rgb */ color: rgb(15, 75, 24);
/* oklch */ color: oklch(36.3% 0.101 145.3);
Tailwind
colors: {
  custom: {
    50: '#587e57',
    500: '#0f4b18',
    950: '#000000',
  },
}
SCSS
$custom: #0f4b18;
$custom-light: #587e57;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4b18",
  "rgb": {
    "r": 15,
    "g": 75,
    "b": 24
  },
  "hsl": {
    "h": 129,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36302,
    "c": 0.10103,
    "h": 145.3
  },
  "luminance": 0.052
}

Semantic roles & 50–950 ramp

primary
#0F4B18
secondary
#853079
accent
#3ED0EA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4B18

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

Preview Lab → · Contrast checker → · Palette generator →

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