#0F4D1F#0F4D1F

#0F4D1F is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.097 H 147.7°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#0F4D1F
RGBrgb(15, 77, 31)
HSLhsl(135, 67%, 18%)
HSVhsv(135, 81%, 30%)
CMYKcmyk(80.5%, 0%, 59.7%, 69.8%)
CIE-LABlab(28.14, -30.52, 21.66)
CIE-LCHlch(28.14, 37.42, 144.64°)
OKLaboklab(37.03% -0.0821 0.0519)
OKLCHoklch(37.03% 0.097 147.7)
XYZxyz(3.0980, 5.5079, 2.1959)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D1F #4D0F3D
analogous
#1E4D0F #0F4D1F #0F4D3E
triadic
#0F4D1F #1F0F4D #4D1F0F
tetradic
#0F4D1F #0F1E4D #4D0F3D #4D3E0F
square
#0F4D1F #0F1E4D #4D0F3D #4D3E0F
split-complementary
#0F4D1F #3E0F4D #4D0F1E
monochromatic
#051A0A #051A0A #0F4D1F #198034 #23B348

Accessibility & contrast

On white

9.99
#0F4D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#0F4D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4D1F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4D1F#FFFFFF#000000##FFFFFF
##0F4D1F1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E451B
Deuteranopia (green-blind)
#474023
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0f4d1f;
/* rgb */ color: rgb(15, 77, 31);
/* oklch */ color: oklch(37.0% 0.097 147.7);
Tailwind
colors: {
  custom: {
    50: '#597f5c',
    500: '#0f4d1f',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d1f;
$custom-light: #597f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d1f",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 31
  },
  "hsl": {
    "h": 135.484,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37027,
    "c": 0.09718,
    "h": 147.7
  },
  "luminance": 0.05508
}

Semantic roles & 50–950 ramp

primary
#0F4D1F
secondary
#873171
accent
#3EBEEA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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