#0F4612#0F4612

#0F4612 is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.7% C 0.099 H 143.8°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#0F4612
RGBrgb(15, 70, 18)
HSLhsl(123, 65%, 17%)
HSVhsv(123, 79%, 27%)
CMYKcmyk(78.6%, 0%, 74.3%, 72.5%)
CIE-LABlab(25.34, -29.56, 25.39)
CIE-LCHlch(25.34, 38.97, 139.33°)
OKLaboklab(34.66% -0.0801 0.0587)
OKLCHoklch(34.66% 0.099 143.8)
XYZxyz(2.4962, 4.5253, 1.3141)
Luminance0.0453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4612 #460F43
analogous
#28460F #0F4612 #0F462E
triadic
#0F4612 #120F46 #46120F
tetradic
#0F4612 #0F2846 #460F43 #462E0F
square
#0F4612 #0F2846 #460F43 #462E0F
split-complementary
#0F4612 #2E0F46 #460F28
monochromatic
#051906 #051906 #0F4612 #1A781F #25AB2C

Accessibility & contrast

On white

11.02
#0F4612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#0F4612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4612
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4612#FFFFFF#000000##FFFFFF
##0F46121.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0B
Deuteranopia (green-blind)
#413A17
Tritanopia (blue-blind)
#01443B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0f4612;
/* rgb */ color: rgb(15, 70, 18);
/* oklch */ color: oklch(34.7% 0.099 143.8);
Tailwind
colors: {
  custom: {
    50: '#577a53',
    500: '#0f4612',
    950: '#000000',
  },
}
SCSS
$custom: #0f4612;
$custom-light: #577a53;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4612",
  "rgb": {
    "r": 15,
    "g": 70,
    "b": 18
  },
  "hsl": {
    "h": 123.273,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.34659,
    "c": 0.09925,
    "h": 143.8
  },
  "luminance": 0.04526
}

Semantic roles & 50–950 ramp

primary
#0F4612
secondary
#80307C
accent
#40DFE8
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0F4612

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

Preview Lab → · Contrast checker → · Palette generator →

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