#0F4D28#0F4D28

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

Color values

HEX#0F4D28
RGBrgb(15, 77, 40)
HSLhsl(144, 67%, 18%)
HSVhsv(144, 81%, 30%)
CMYKcmyk(80.5%, 0%, 48.1%, 69.8%)
CIE-LABlab(28.28, -28.85, 16.55)
CIE-LCHlch(28.28, 33.26, 150.16°)
OKLaboklab(37.19% -0.0777 0.0408)
OKLCHoklch(37.19% 0.088 152.3)
XYZxyz(3.2336, 5.5621, 2.9103)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D28 #4D0F34
analogous
#154D0F #0F4D28 #0F4D47
triadic
#0F4D28 #280F4D #4D280F
tetradic
#0F4D28 #0F154D #4D0F34 #4D470F
square
#0F4D28 #0F154D #4D0F34 #4D470F
split-complementary
#0F4D28 #470F4D #4D0F15
monochromatic
#051A0D #051A0D #0F4D28 #198043 #23B35D

Accessibility & contrast

On white

9.94
#0F4D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4D28
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4D28#FFFFFF#000000##FFFFFF
##0F4D281.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f4d28;
/* rgb */ color: rgb(15, 77, 40);
/* oklch */ color: oklch(37.2% 0.088 152.3);
Tailwind
colors: {
  custom: {
    50: '#587f62',
    500: '#0f4d28',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d28;
$custom-light: #587f62;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d28",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 40
  },
  "hsl": {
    "h": 144.194,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37194,
    "c": 0.08774,
    "h": 152.3
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#0F4D28
secondary
#873164
accent
#3EA5EA
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0F4D28

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

Preview Lab → · Contrast checker → · Palette generator →

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