#0F4A1E#0F4A1E

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

Color values

HEX#0F4A1E
RGBrgb(15, 74, 30)
HSLhsl(135, 66%, 17%)
HSVhsv(135, 80%, 29%)
CMYKcmyk(79.7%, 0%, 59.5%, 71%)
CIE-LABlab(27.00, -29.45, 20.85)
CIE-LCHlch(27.00, 36.08, 144.71°)
OKLaboklab(36.08% -0.0793 0.05)
OKLCHoklch(36.08% 0.094 147.7)
XYZxyz(2.8799, 5.0925, 2.0592)
Luminance0.0509 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4A1E #4A0F3B
analogous
#1E4A0F #0F4A1E #0F4A3B
triadic
#0F4A1E #1E0F4A #4A1E0F
tetradic
#0F4A1E #0F1E4A #4A0F3B #4A3B0F
square
#0F4A1E #0F1E4A #4A0F3B #4A3B0F
split-complementary
#0F4A1E #3B0F4A #4A0F1E
monochromatic
#05190A #05190A #0F4A1E #197D33 #24B047

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F4A1E#FFFFFF#000000##FFFFFF
##0F4A1E1.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)
#4B431A
Deuteranopia (green-blind)
#443E21
Tritanopia (blue-blind)
#004840
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0f4a1e;
/* rgb */ color: rgb(15, 74, 30);
/* oklch */ color: oklch(36.1% 0.094 147.7);
Tailwind
colors: {
  custom: {
    50: '#587d5b',
    500: '#0f4a1e',
    950: '#000000',
  },
}
SCSS
$custom: #0f4a1e;
$custom-light: #587d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4a1e",
  "rgb": {
    "r": 15,
    "g": 74,
    "b": 30
  },
  "hsl": {
    "h": 135.254,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3608,
    "c": 0.09377,
    "h": 147.7
  },
  "luminance": 0.05093
}

Semantic roles & 50–950 ramp

primary
#0F4A1E
secondary
#84306F
accent
#3FBEE9
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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