#0F2F0C#0F2F0C

#0F2F0C is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.2% C 0.070 H 141.9°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#0F2F0C
RGBrgb(15, 47, 12)
HSLhsl(115, 59%, 12%)
HSVhsv(115, 74%, 18%)
CMYKcmyk(68.1%, 0%, 74.5%, 81.6%)
CIE-LABlab(16.31, -20.32, 18.15)
CIE-LCHlch(16.31, 27.24, 138.23°)
OKLaboklab(27.17% -0.0554 0.0434)
OKLCHoklch(27.17% 0.07 141.9)
XYZxyz(1.2798, 2.1610, 0.6974)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F0C #2C0C2F
analogous
#212F0C #0F2F0C #0C2F1B
triadic
#0F2F0C #0C0F2F #2F0C0F
tetradic
#0F2F0C #0C212F #2C0C2F #2F1B0C
square
#0F2F0C #0C212F #2C0C2F #2F1B0C
split-complementary
#0F2F0C #1B0C2F #2F0C21
monochromatic
#081806 #081806 #0F2F0C #1F6018 #2E9125

Accessibility & contrast

On white

14.66
#0F2F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0F2F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F0C
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F0C#FFFFFF#000000##FFFFFF
##0F2F0C1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A08
Deuteranopia (green-blind)
#2C270F
Tritanopia (blue-blind)
#0A2D28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2f0c;
/* rgb */ color: rgb(15, 47, 12);
/* oklch */ color: oklch(27.2% 0.070 141.9);
Tailwind
colors: {
  custom: {
    50: '#51684c',
    500: '#0f2f0c',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f0c;
$custom-light: #51684c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f0c",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 114.857,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27174,
    "c": 0.07036,
    "h": 141.9
  },
  "luminance": 0.02161
}

Semantic roles & 50–950 ramp

primary
#0F2F0C
secondary
#652C6B
accent
#45E3D5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0F2F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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