#0F2F1E#0F2F1E

#0F2F1E is a dark, muted green. Relative luminance 0.022; OKLCH L 27.6% C 0.050 H 157.5°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#0F2F1E
RGBrgb(15, 47, 30)
HSLhsl(148, 52%, 12%)
HSVhsv(148, 68%, 18%)
CMYKcmyk(68.1%, 0%, 36.2%, 81.6%)
CIE-LABlab(16.64, -16.76, 7.48)
CIE-LCHlch(16.64, 18.35, 155.95°)
OKLaboklab(27.56% -0.0458 0.019)
OKLCHoklch(27.56% 0.05 157.5)
XYZxyz(1.4477, 2.2282, 1.5818)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F1E #2F0F20
analogous
#102F0F #0F2F1E #0F2F2E
triadic
#0F2F1E #1E0F2F #2F1E0F
tetradic
#0F2F1E #0F102F #2F0F20 #2F2E0F
square
#0F2F1E #0F102F #2F0F20 #2F2E0F
split-complementary
#0F2F1E #2E0F2F #2F0F10
monochromatic
#07170F #07170F #0F2F1E #1E5D3C #2D8C59

Accessibility & contrast

On white

14.53
#0F2F1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0F2F1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F1E
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F1E#FFFFFF#000000##FFFFFF
##0F2F1E1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B1D
Deuteranopia (green-blind)
#2A281F
Tritanopia (blue-blind)
#052F2A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2f1e;
/* rgb */ color: rgb(15, 47, 30);
/* oklch */ color: oklch(27.6% 0.050 157.5);
Tailwind
colors: {
  custom: {
    50: '#516859',
    500: '#0f2f1e',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f1e;
$custom-light: #516859;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f1e",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 30
  },
  "hsl": {
    "h": 148.125,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.27555,
    "c": 0.04954,
    "h": 157.5
  },
  "luminance": 0.02228
}

Semantic roles & 50–950 ramp

primary
#0F2F1E
secondary
#69314F
accent
#4D98DB
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0F2F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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