#0F2F12#0F2F12

#0F2F12 is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.3% C 0.064 H 145.3°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#0F2F12
RGBrgb(15, 47, 18)
HSLhsl(126, 52%, 12%)
HSVhsv(126, 68%, 18%)
CMYKcmyk(68.1%, 0%, 61.7%, 81.6%)
CIE-LABlab(16.40, -19.37, 15.07)
CIE-LCHlch(16.40, 24.54, 142.12°)
OKLaboklab(27.27% -0.0525 0.0364)
OKLCHoklch(27.27% 0.064 145.3)
XYZxyz(1.3226, 2.1781, 0.9229)
Luminance0.0218 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F12 #2F0F2C
analogous
#1C2F0F #0F2F12 #0F2F22
triadic
#0F2F12 #120F2F #2F120F
tetradic
#0F2F12 #0F1C2F #2F0F2C #2F220F
square
#0F2F12 #0F1C2F #2F0F2C #2F220F
split-complementary
#0F2F12 #220F2F #2F0F1C
monochromatic
#071709 #071709 #0F2F12 #1E5D24 #2D8C36

Accessibility & contrast

On white

14.63
#0F2F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0F2F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F12
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F12#FFFFFF#000000##FFFFFF
##0F2F121.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A10
Deuteranopia (green-blind)
#2C2714
Tritanopia (blue-blind)
#092E28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2f12;
/* rgb */ color: rgb(15, 47, 18);
/* oklch */ color: oklch(27.3% 0.064 145.3);
Tailwind
colors: {
  custom: {
    50: '#516850',
    500: '#0f2f12',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f12;
$custom-light: #516850;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f12",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 18
  },
  "hsl": {
    "h": 125.625,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.27272,
    "c": 0.06387,
    "h": 145.3
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#0F2F12
secondary
#693163
accent
#4DCEDB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020602
muted
#787A78

Preview Lab

Preview with #0F2F12

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

Preview Lab → · Contrast checker → · Palette generator →

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