#0F4A1F#0F4A1F

#0F4A1F is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.1% C 0.093 H 148.2°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#0F4A1F
RGBrgb(15, 74, 31)
HSLhsl(136, 66%, 17%)
HSVhsv(136, 80%, 29%)
CMYKcmyk(79.7%, 0%, 58.1%, 71%)
CIE-LABlab(27.01, -29.28, 20.29)
CIE-LCHlch(27.01, 35.62, 145.28°)
OKLaboklab(36.1% -0.0788 0.0489)
OKLCHoklch(36.1% 0.093 148.2)
XYZxyz(2.8929, 5.0977, 2.1276)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4A1F #4A0F3A
analogous
#1D4A0F #0F4A1F #0F4A3C
triadic
#0F4A1F #1F0F4A #4A1F0F
tetradic
#0F4A1F #0F1D4A #4A0F3A #4A3C0F
square
#0F4A1F #0F1D4A #4A0F3A #4A3C0F
split-complementary
#0F4A1F #3C0F4A #4A0F1D
monochromatic
#05190B #05190B #0F4A1F #197D34 #24B04A

Accessibility & contrast

On white

10.40
#0F4A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#0F4A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4A1F
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4A1F#FFFFFF#000000##FFFFFF
##0F4A1F1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431B
Deuteranopia (green-blind)
#443E22
Tritanopia (blue-blind)
#004840
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0f4a1f;
/* rgb */ color: rgb(15, 74, 31);
/* oklch */ color: oklch(36.1% 0.093 148.2);
Tailwind
colors: {
  custom: {
    50: '#587d5c',
    500: '#0f4a1f',
    950: '#000000',
  },
}
SCSS
$custom: #0f4a1f;
$custom-light: #587d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4a1f",
  "rgb": {
    "r": 15,
    "g": 74,
    "b": 31
  },
  "hsl": {
    "h": 136.271,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36097,
    "c": 0.09275,
    "h": 148.2
  },
  "luminance": 0.05098
}

Semantic roles & 50–950 ramp

primary
#0F4A1F
secondary
#84306E
accent
#3FBBE9
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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