#0F4D27#0F4D27

#0F4D27 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.2% C 0.089 H 151.7°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#0F4D27
RGBrgb(15, 77, 39)
HSLhsl(143, 67%, 18%)
HSVhsv(143, 81%, 30%)
CMYKcmyk(80.5%, 0%, 49.4%, 69.8%)
CIE-LABlab(28.26, -29.05, 17.13)
CIE-LCHlch(28.26, 33.72, 149.48°)
OKLaboklab(37.17% -0.0782 0.0421)
OKLCHoklch(37.17% 0.089 151.7)
XYZxyz(3.2168, 5.5554, 2.8218)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D27 #4D0F35
analogous
#164D0F #0F4D27 #0F4D46
triadic
#0F4D27 #270F4D #4D270F
tetradic
#0F4D27 #0F164D #4D0F35 #4D460F
square
#0F4D27 #0F164D #4D0F35 #4D460F
split-complementary
#0F4D27 #460F4D #4D0F16
monochromatic
#051A0D #051A0D #0F4D27 #198041 #23B35B

Accessibility & contrast

On white

9.95
#0F4D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#0F4D27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4D27
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4D27#FFFFFF#000000##FFFFFF
##0F4D271.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4624
Deuteranopia (green-blind)
#46412A
Tritanopia (blue-blind)
#004C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0f4d27;
/* rgb */ color: rgb(15, 77, 39);
/* oklch */ color: oklch(37.2% 0.089 151.7);
Tailwind
colors: {
  custom: {
    50: '#587f61',
    500: '#0f4d27',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d27;
$custom-light: #587f61;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d27",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 39
  },
  "hsl": {
    "h": 143.226,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37173,
    "c": 0.08881,
    "h": 151.7
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#0F4D27
secondary
#873166
accent
#3EA7EA
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0F4D27

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

Preview Lab → · Contrast checker → · Palette generator →

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