#0F4A1B#0F4A1B

#0F4A1B is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.0% C 0.097 H 146.5°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#0F4A1B
RGBrgb(15, 74, 27)
HSLhsl(132, 66%, 17%)
HSVhsv(132, 80%, 29%)
CMYKcmyk(79.7%, 0%, 63.5%, 71%)
CIE-LABlab(26.96, -29.94, 22.49)
CIE-LCHlch(26.96, 37.44, 143.09°)
OKLaboklab(36.03% -0.0807 0.0534)
OKLCHoklch(36.03% 0.097 146.5)
XYZxyz(2.8434, 5.0779, 1.8670)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4A1B #4A0F3E
analogous
#214A0F #0F4A1B #0F4A38
triadic
#0F4A1B #1B0F4A #4A1B0F
tetradic
#0F4A1B #0F214A #4A0F3E #4A380F
square
#0F4A1B #0F214A #4A0F3E #4A380F
split-complementary
#0F4A1B #380F4A #4A0F21
monochromatic
#051909 #051909 #0F4A1B #197D2E #24B040

Accessibility & contrast

On white

10.42
#0F4A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4A1B
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4A1B#FFFFFF#000000##FFFFFF
##0F4A1B1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f4a1b;
/* rgb */ color: rgb(15, 74, 27);
/* oklch */ color: oklch(36.0% 0.097 146.5);
Tailwind
colors: {
  custom: {
    50: '#587d59',
    500: '#0f4a1b',
    950: '#000000',
  },
}
SCSS
$custom: #0f4a1b;
$custom-light: #587d59;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4a1b",
  "rgb": {
    "r": 15,
    "g": 74,
    "b": 27
  },
  "hsl": {
    "h": 132.203,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36033,
    "c": 0.09677,
    "h": 146.5
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#0F4A1B
secondary
#843073
accent
#3FC7E9
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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