#0F4F2B#0F4F2B

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

Color values

HEX#0F4F2B
RGBrgb(15, 79, 43)
HSLhsl(146, 68%, 18%)
HSVhsv(146, 81%, 31%)
CMYKcmyk(81%, 0%, 45.6%, 69%)
CIE-LABlab(29.08, -29.08, 15.76)
CIE-LCHlch(29.08, 33.08, 151.55°)
OKLaboklab(37.87% -0.0783 0.0391)
OKLCHoklch(37.87% 0.088 153.5)
XYZxyz(3.4287, 5.8675, 3.2369)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F2B #4F0F33
analogous
#134F0F #0F4F2B #0F4F4B
triadic
#0F4F2B #2B0F4F #4F2B0F
tetradic
#0F4F2B #0F134F #4F0F33 #4F4B0F
square
#0F4F2B #0F134F #4F0F33 #4F4B0F
split-complementary
#0F4F2B #4B0F4F #4F0F13
monochromatic
#051A0E #051C0F #0F4F2B #198247 #23B663

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F4F2B#FFFFFF#000000##FFFFFF
##0F4F2B1.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)
#4F4828
Deuteranopia (green-blind)
#47422D
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f4f2b;
/* rgb */ color: rgb(15, 79, 43);
/* oklch */ color: oklch(37.9% 0.088 153.5);
Tailwind
colors: {
  custom: {
    50: '#598164',
    500: '#0f4f2b',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f2b;
$custom-light: #598164;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f2b",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 43
  },
  "hsl": {
    "h": 146.25,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37869,
    "c": 0.08756,
    "h": 153.5
  },
  "luminance": 0.05868
}

Semantic roles & 50–950 ramp

primary
#0F4F2B
secondary
#893162
accent
#3D9FEB
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #0F4F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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