#0F4F28#0F4F28

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

Color values

HEX#0F4F28
RGBrgb(15, 79, 40)
HSLhsl(143, 68%, 18%)
HSVhsv(143, 81%, 31%)
CMYKcmyk(81%, 0%, 49.4%, 69%)
CIE-LABlab(29.02, -29.70, 17.50)
CIE-LCHlch(29.02, 34.48, 149.49°)
OKLaboklab(37.81% -0.0799 0.043)
OKLCHoklch(37.81% 0.091 151.7)
XYZxyz(3.3757, 5.8463, 2.9576)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F28 #4F0F36
analogous
#164F0F #0F4F28 #0F4F48
triadic
#0F4F28 #280F4F #4F280F
tetradic
#0F4F28 #0F164F #4F0F36 #4F480F
square
#0F4F28 #0F164F #4F0F36 #4F480F
split-complementary
#0F4F28 #480F4F #4F0F16
monochromatic
#051A0D #051C0E #0F4F28 #198242 #23B65C

Accessibility & contrast

On white

9.68
#0F4F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4F28
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F28#FFFFFF#000000##FFFFFF
##0F4F281.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4825
Deuteranopia (green-blind)
#48422B
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0f4f28;
/* rgb */ color: rgb(15, 79, 40);
/* oklch */ color: oklch(37.8% 0.091 151.7);
Tailwind
colors: {
  custom: {
    50: '#598162',
    500: '#0f4f28',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f28;
$custom-light: #598162;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f28",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 40
  },
  "hsl": {
    "h": 143.438,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37806,
    "c": 0.09077,
    "h": 151.7
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#0F4F28
secondary
#893167
accent
#3DA7EB
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0F4F28

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

Preview Lab → · Contrast checker → · Palette generator →

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