#0F4F2C#0F4F2C

#0F4F2C is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.086 H 154.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#0F4F2C
RGBrgb(15, 79, 44)
HSLhsl(147, 68%, 18%)
HSVhsv(147, 81%, 31%)
CMYKcmyk(81%, 0%, 44.3%, 69%)
CIE-LABlab(29.09, -28.87, 15.18)
CIE-LCHlch(29.09, 32.61, 152.27°)
OKLaboklab(37.89% -0.0778 0.0377)
OKLCHoklch(37.89% 0.086 154.1)
XYZxyz(3.4473, 5.8750, 3.3347)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F2C #4F0F32
analogous
#124F0F #0F4F2C #0F4F4C
triadic
#0F4F2C #2C0F4F #4F2C0F
tetradic
#0F4F2C #0F124F #4F0F32 #4F4C0F
square
#0F4F2C #0F124F #4F0F32 #4F4C0F
split-complementary
#0F4F2C #4C0F4F #4F0F12
monochromatic
#051A0E #051C0F #0F4F2C #198249 #23B665

Accessibility & contrast

On white

9.66
#0F4F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#0F4F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4F2C
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F2C#FFFFFF#000000##FFFFFF
##0F4F2C1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482A
Deuteranopia (green-blind)
#47422E
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f4f2c;
/* rgb */ color: rgb(15, 79, 44);
/* oklch */ color: oklch(37.9% 0.086 154.1);
Tailwind
colors: {
  custom: {
    50: '#598165',
    500: '#0f4f2c',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f2c;
$custom-light: #598165;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f2c",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 44
  },
  "hsl": {
    "h": 147.188,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37891,
    "c": 0.08648,
    "h": 154.1
  },
  "luminance": 0.05875
}

Semantic roles & 50–950 ramp

primary
#0F4F2C
secondary
#893161
accent
#3D9CEB
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #0F4F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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