#0F4E1C#0F4E1C

#0F4E1C is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.3% C 0.102 H 146.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#0F4E1C
RGBrgb(15, 78, 28)
HSLhsl(132, 68%, 18%)
HSVhsv(132, 81%, 31%)
CMYKcmyk(80.8%, 0%, 64.1%, 69.4%)
CIE-LABlab(28.47, -31.40, 23.72)
CIE-LCHlch(28.47, 39.35, 142.93°)
OKLaboklab(37.29% -0.0846 0.0562)
OKLCHoklch(37.29% 0.102 146.4)
XYZxyz(3.1308, 5.6338, 2.0208)
Luminance0.0563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4E1C #4E0F41
analogous
#214E0F #0F4E1C #0F4E3B
triadic
#0F4E1C #1C0F4E #4E1C0F
tetradic
#0F4E1C #0F214E #4E0F41 #4E3B0F
square
#0F4E1C #0F214E #4E0F41 #4E3B0F
split-complementary
#0F4E1C #3B0F4E #4E0F21
monochromatic
#051A09 #051B0A #0F4E1C #19812E #23B541

Accessibility & contrast

On white

9.87
#0F4E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#0F4E1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4E1C
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4E1C#FFFFFF#000000##FFFFFF
##0F4E1C1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4617
Deuteranopia (green-blind)
#484120
Tritanopia (blue-blind)
#004C43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0f4e1c;
/* rgb */ color: rgb(15, 78, 28);
/* oklch */ color: oklch(37.3% 0.102 146.4);
Tailwind
colors: {
  custom: {
    50: '#59805a',
    500: '#0f4e1c',
    950: '#000000',
  },
}
SCSS
$custom: #0f4e1c;
$custom-light: #59805a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4e1c",
  "rgb": {
    "r": 15,
    "g": 78,
    "b": 28
  },
  "hsl": {
    "h": 132.381,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37291,
    "c": 0.10156,
    "h": 146.4
  },
  "luminance": 0.05634
}

Semantic roles & 50–950 ramp

primary
#0F4E1C
secondary
#883176
accent
#3DC7EB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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