#0F4F27#0F4F27

#0F4F27 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.8% C 0.092 H 151.1°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#0F4F27
RGBrgb(15, 79, 39)
HSLhsl(143, 68%, 18%)
HSVhsv(143, 81%, 31%)
CMYKcmyk(81%, 0%, 50.6%, 69%)
CIE-LABlab(29.00, -29.90, 18.08)
CIE-LCHlch(29.00, 34.94, 148.85°)
OKLaboklab(37.79% -0.0804 0.0443)
OKLCHoklch(37.79% 0.092 151.1)
XYZxyz(3.3589, 5.8396, 2.8692)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F27 #4F0F37
analogous
#174F0F #0F4F27 #0F4F47
triadic
#0F4F27 #270F4F #4F270F
tetradic
#0F4F27 #0F174F #4F0F37 #4F470F
square
#0F4F27 #0F174F #4F0F37 #4F470F
split-complementary
#0F4F27 #470F4F #4F0F17
monochromatic
#051A0D #051C0E #0F4F27 #198240 #23B65A

Accessibility & contrast

On white

9.69
#0F4F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4F27
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F27#FFFFFF#000000##FFFFFF
##0F4F271.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4824
Deuteranopia (green-blind)
#48422A
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0f4f27;
/* rgb */ color: rgb(15, 79, 39);
/* oklch */ color: oklch(37.8% 0.092 151.1);
Tailwind
colors: {
  custom: {
    50: '#598162',
    500: '#0f4f27',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f27;
$custom-light: #598162;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f27",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 39
  },
  "hsl": {
    "h": 142.5,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37786,
    "c": 0.09183,
    "h": 151.1
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#0F4F27
secondary
#893168
accent
#3DAAEB
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0F4F27

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

Preview Lab → · Contrast checker → · Palette generator →

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