#0F4E1F#0F4E1F

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

Color values

HEX#0F4E1F
RGBrgb(15, 78, 31)
HSLhsl(135, 68%, 18%)
HSVhsv(135, 81%, 31%)
CMYKcmyk(80.8%, 0%, 60.3%, 69.4%)
CIE-LABlab(28.51, -30.93, 22.11)
CIE-LCHlch(28.51, 38.02, 144.44°)
OKLaboklab(37.34% -0.0832 0.0529)
OKLCHoklch(37.34% 0.099 147.6)
XYZxyz(3.1685, 5.6489, 2.2194)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4E1F #4E0F3E
analogous
#1E4E0F #0F4E1F #0F4E3E
triadic
#0F4E1F #1F0F4E #4E1F0F
tetradic
#0F4E1F #0F1E4E #4E0F3E #4E3E0F
square
#0F4E1F #0F1E4E #4E0F3E #4E3E0F
split-complementary
#0F4E1F #3E0F4E #4E0F1E
monochromatic
#051A0A #051B0B #0F4E1F #198133 #23B548

Accessibility & contrast

On white

9.86
#0F4E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4E1F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4E1F#FFFFFF#000000##FFFFFF
##0F4E1F1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f4e1f;
/* rgb */ color: rgb(15, 78, 31);
/* oklch */ color: oklch(37.3% 0.099 147.6);
Tailwind
colors: {
  custom: {
    50: '#59805c',
    500: '#0f4e1f',
    950: '#000000',
  },
}
SCSS
$custom: #0f4e1f;
$custom-light: #59805c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4e1f",
  "rgb": {
    "r": 15,
    "g": 78,
    "b": 31
  },
  "hsl": {
    "h": 135.238,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37337,
    "c": 0.09864,
    "h": 147.6
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#0F4E1F
secondary
#883172
accent
#3DBFEB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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