#0F2A18#0F2A18

#0F2A18 is a dark, muted green. Relative luminance 0.018; OKLCH L 25.8% C 0.048 H 152.5°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#0F2A18
RGBrgb(15, 42, 24)
HSLhsl(140, 47%, 11%)
HSVhsv(140, 64%, 16%)
CMYKcmyk(64.3%, 0%, 42.9%, 83.5%)
CIE-LABlab(14.53, -15.50, 8.72)
CIE-LCHlch(14.53, 17.79, 150.65°)
OKLaboklab(25.78% -0.0422 0.0219)
OKLCHoklch(25.78% 0.048 152.5)
XYZxyz(1.1898, 1.8233, 1.1532)
Luminance0.0182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A18 #2A0F21
analogous
#132A0F #0F2A18 #0F2A25
triadic
#0F2A18 #180F2A #2A180F
tetradic
#0F2A18 #0F132A #2A0F21 #2A250F
square
#0F2A18 #0F132A #2A0F21 #2A250F
split-complementary
#0F2A18 #250F2A #2A0F13
monochromatic
#08170D #08170D #0F2A18 #1F5732 #2F844C

Accessibility & contrast

On white

15.39
#0F2A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0F2A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A18
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A18#FFFFFF#000000##FFFFFF
##0F2A181.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2617
Deuteranopia (green-blind)
#262419
Tritanopia (blue-blind)
#092925
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f2a18;
/* rgb */ color: rgb(15, 42, 24);
/* oklch */ color: oklch(25.8% 0.048 152.5);
Tailwind
colors: {
  custom: {
    50: '#506354',
    500: '#0f2a18',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a18;
$custom-light: #506354;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a18",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 24
  },
  "hsl": {
    "h": 140,
    "s": 47.368,
    "l": 11.176
  },
  "oklch": {
    "l": 0.25782,
    "c": 0.04752,
    "h": 152.5
  },
  "luminance": 0.01823
}

Semantic roles & 50–950 ramp

primary
#0F2A18
secondary
#633253
accent
#51AAD7
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#020502
muted
#787978

Preview Lab

Preview with #0F2A18

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

Preview Lab → · Contrast checker → · Palette generator →

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