#0F4F2A#0F4F2A

#0F4F2A is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.8% C 0.089 H 152.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#0F4F2A
RGBrgb(15, 79, 42)
HSLhsl(145, 68%, 18%)
HSVhsv(145, 81%, 31%)
CMYKcmyk(81%, 0%, 46.8%, 69%)
CIE-LABlab(29.06, -29.29, 16.34)
CIE-LCHlch(29.06, 33.55, 150.84°)
OKLaboklab(37.85% -0.0789 0.0404)
OKLCHoklch(37.85% 0.089 152.9)
XYZxyz(3.4106, 5.8603, 3.1414)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F2A #4F0F34
analogous
#144F0F #0F4F2A #0F4F4A
triadic
#0F4F2A #2A0F4F #4F2A0F
tetradic
#0F4F2A #0F144F #4F0F34 #4F4A0F
square
#0F4F2A #0F144F #4F0F34 #4F4A0F
split-complementary
#0F4F2A #4A0F4F #4F0F14
monochromatic
#051A0E #051C0F #0F4F2A #198245 #23B661

Accessibility & contrast

On white

9.67
#0F4F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4F2A
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F2A#FFFFFF#000000##FFFFFF
##0F4F2A1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4827
Deuteranopia (green-blind)
#47422D
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0f4f2a;
/* rgb */ color: rgb(15, 79, 42);
/* oklch */ color: oklch(37.8% 0.089 152.9);
Tailwind
colors: {
  custom: {
    50: '#598164',
    500: '#0f4f2a',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f2a;
$custom-light: #598164;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f2a",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 42
  },
  "hsl": {
    "h": 145.313,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37848,
    "c": 0.08863,
    "h": 152.9
  },
  "luminance": 0.05861
}

Semantic roles & 50–950 ramp

primary
#0F4F2A
secondary
#893164
accent
#3DA1EB
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0F4F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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