#0F4D12#0F4D12

#0F4D12 is a dark, moderate green. Relative luminance 0.055; OKLCH L 36.9% C 0.109 H 143.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#0F4D12
RGBrgb(15, 77, 18)
HSLhsl(123, 67%, 18%)
HSVhsv(123, 81%, 30%)
CMYKcmyk(80.5%, 0%, 76.6%, 69.8%)
CIE-LABlab(27.99, -32.29, 28.23)
CIE-LCHlch(27.99, 42.89, 138.84°)
OKLaboklab(36.86% -0.0875 0.0646)
OKLCHoklch(36.86% 0.109 143.6)
XYZxyz(2.9599, 5.4526, 1.4686)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D12 #4D0F4A
analogous
#2B4D0F #0F4D12 #0F4D31
triadic
#0F4D12 #120F4D #4D120F
tetradic
#0F4D12 #0F2B4D #4D0F4A #4D310F
square
#0F4D12 #0F2B4D #4D0F4A #4D310F
split-complementary
#0F4D12 #310F4D #4D0F2B
monochromatic
#051A06 #051A06 #0F4D12 #19801E #23B32A

Accessibility & contrast

On white

10.04
#0F4D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#0F4D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4D12
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4D12#FFFFFF#000000##FFFFFF
##0F4D121.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4509
Deuteranopia (green-blind)
#484018
Tritanopia (blue-blind)
#004B41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0f4d12;
/* rgb */ color: rgb(15, 77, 18);
/* oklch */ color: oklch(36.9% 0.109 143.6);
Tailwind
colors: {
  custom: {
    50: '#597f53',
    500: '#0f4d12',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d12;
$custom-light: #597f53;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d12",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 122.903,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36857,
    "c": 0.10877,
    "h": 143.6
  },
  "luminance": 0.05453
}

Semantic roles & 50–950 ramp

primary
#0F4D12
secondary
#873183
accent
#3EE2EA
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4D12

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

Preview Lab → · Contrast checker → · Palette generator →

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