#0F2E1E#0F2E1E

#0F2E1E is a dark, muted green. Relative luminance 0.021; OKLCH L 27.2% C 0.048 H 158.3°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#0F2E1E
RGBrgb(15, 46, 30)
HSLhsl(149, 51%, 12%)
HSVhsv(149, 67%, 18%)
CMYKcmyk(67.4%, 0%, 34.8%, 82%)
CIE-LABlab(16.25, -16.21, 6.94)
CIE-LCHlch(16.25, 17.63, 156.82°)
OKLaboklab(27.24% -0.0443 0.0176)
OKLCHoklch(27.24% 0.048 158.3)
XYZxyz(1.4082, 2.1492, 1.5687)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E1E #2E0F1F
analogous
#102E0F #0F2E1E #0F2E2E
triadic
#0F2E1E #1E0F2E #2E1E0F
tetradic
#0F2E1E #0F102E #2E0F1F #2E2E0F
square
#0F2E1E #0F102E #2E0F1F #2E2E0F
split-complementary
#0F2E1E #2E0F2E #2E0F10
monochromatic
#08170F #08170F #0F2E1E #1E5C3C #2D8A5A

Accessibility & contrast

On white

14.69
#0F2E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2E1E
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E1E#FFFFFF#000000##FFFFFF
##0F2E1E1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2A1D
Deuteranopia (green-blind)
#29271F
Tritanopia (blue-blind)
#052E2A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2e1e;
/* rgb */ color: rgb(15, 46, 30);
/* oklch */ color: oklch(27.2% 0.048 158.3);
Tailwind
colors: {
  custom: {
    50: '#506759',
    500: '#0f2e1e',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e1e;
$custom-light: #506759;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e1e",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 30
  },
  "hsl": {
    "h": 149.032,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.27235,
    "c": 0.04773,
    "h": 158.3
  },
  "luminance": 0.02149
}

Semantic roles & 50–950 ramp

primary
#0F2E1E
secondary
#68314D
accent
#4D96DA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0F2E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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