#0F2D18#0F2D18

#0F2D18 is a dark, muted green. Relative luminance 0.020; OKLCH L 26.8% C 0.053 H 151.1°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#0F2D18
RGBrgb(15, 45, 24)
HSLhsl(138, 50%, 12%)
HSVhsv(138, 67%, 18%)
CMYKcmyk(66.7%, 0%, 46.7%, 82.4%)
CIE-LABlab(15.72, -17.13, 10.30)
CIE-LCHlch(15.72, 19.99, 148.98°)
OKLaboklab(26.75% -0.0465 0.0257)
OKLCHoklch(26.75% 0.053 151.1)
XYZxyz(1.3002, 2.0442, 1.1900)
Luminance0.0204 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D18 #2D0F24
analogous
#152D0F #0F2D18 #0F2D27
triadic
#0F2D18 #180F2D #2D180F
tetradic
#0F2D18 #0F152D #2D0F24 #2D270F
square
#0F2D18 #0F152D #2D0F24 #2D270F
split-complementary
#0F2D18 #270F2D #2D0F15
monochromatic
#08170C #08170C #0F2D18 #1E5B30 #2E8949

Accessibility & contrast

On white

14.91
#0F2D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0F2D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2D18
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D18#FFFFFF#000000##FFFFFF
##0F2D181.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2917
Deuteranopia (green-blind)
#292619
Tritanopia (blue-blind)
#082C28
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f2d18;
/* rgb */ color: rgb(15, 45, 24);
/* oklch */ color: oklch(26.8% 0.053 151.1);
Tailwind
colors: {
  custom: {
    50: '#506655',
    500: '#0f2d18',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d18;
$custom-light: #506655;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d18",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 24
  },
  "hsl": {
    "h": 138,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.26752,
    "c": 0.05308,
    "h": 151.1
  },
  "luminance": 0.02044
}

Semantic roles & 50–950 ramp

primary
#0F2D18
secondary
#663157
accent
#4EB0DA
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020603
muted
#787A78

Preview Lab

Preview with #0F2D18

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

Preview Lab → · Contrast checker → · Palette generator →

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