#0F4B1F#0F4B1F

#0F4B1F is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.4% C 0.094 H 148.0°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#0F4B1F
RGBrgb(15, 75, 31)
HSLhsl(136, 67%, 18%)
HSVhsv(136, 80%, 29%)
CMYKcmyk(80%, 0%, 58.7%, 70.6%)
CIE-LABlab(27.39, -29.70, 20.75)
CIE-LCHlch(27.39, 36.23, 145.06°)
OKLaboklab(36.41% -0.0799 0.0499)
OKLCHoklch(36.41% 0.094 148)
XYZxyz(2.9602, 5.2323, 2.1500)
Luminance0.0523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4B1F #4B0F3B
analogous
#1D4B0F #0F4B1F #0F4B3D
triadic
#0F4B1F #1F0F4B #4B1F0F
tetradic
#0F4B1F #0F1D4B #4B0F3B #4B3D0F
square
#0F4B1F #0F1D4B #4B0F3B #4B3D0F
split-complementary
#0F4B1F #3D0F4B #4B0F1D
monochromatic
#051A0B #051A0B #0F4B1F #197E34 #23B149

Accessibility & contrast

On white

10.26
#0F4B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#0F4B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4B1F
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4B1F#FFFFFF#000000##FFFFFF
##0F4B1F1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C441B
Deuteranopia (green-blind)
#453F22
Tritanopia (blue-blind)
#004941
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0f4b1f;
/* rgb */ color: rgb(15, 75, 31);
/* oklch */ color: oklch(36.4% 0.094 148.0);
Tailwind
colors: {
  custom: {
    50: '#587e5c',
    500: '#0f4b1f',
    950: '#000000',
  },
}
SCSS
$custom: #0f4b1f;
$custom-light: #587e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4b1f",
  "rgb": {
    "r": 15,
    "g": 75,
    "b": 31
  },
  "hsl": {
    "h": 136,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36408,
    "c": 0.09423,
    "h": 148
  },
  "luminance": 0.05233
}

Semantic roles & 50–950 ramp

primary
#0F4B1F
secondary
#85306F
accent
#3EBCEA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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