#0F4D2A#0F4D2A

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

Color values

HEX#0F4D2A
RGBrgb(15, 77, 42)
HSLhsl(146, 67%, 18%)
HSVhsv(146, 81%, 30%)
CMYKcmyk(80.5%, 0%, 45.5%, 69.8%)
CIE-LABlab(28.32, -28.43, 15.38)
CIE-LCHlch(28.32, 32.32, 151.59°)
OKLaboklab(37.24% -0.0766 0.0382)
OKLCHoklch(37.24% 0.086 153.5)
XYZxyz(3.2685, 5.5761, 3.0941)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D2A #4D0F32
analogous
#134D0F #0F4D2A #0F4D49
triadic
#0F4D2A #2A0F4D #4D2A0F
tetradic
#0F4D2A #0F134D #4D0F32 #4D490F
square
#0F4D2A #0F134D #4D0F32 #4D490F
split-complementary
#0F4D2A #490F4D #4D0F13
monochromatic
#051A0E #051A0E #0F4D2A #198046 #23B362

Accessibility & contrast

On white

9.93
#0F4D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#0F4D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4D2A
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4D2A#FFFFFF#000000##FFFFFF
##0F4D2A1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4628
Deuteranopia (green-blind)
#45412C
Tritanopia (blue-blind)
#004C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0f4d2a;
/* rgb */ color: rgb(15, 77, 42);
/* oklch */ color: oklch(37.2% 0.086 153.5);
Tailwind
colors: {
  custom: {
    50: '#587f64',
    500: '#0f4d2a',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d2a;
$custom-light: #587f64;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d2a",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 42
  },
  "hsl": {
    "h": 146.129,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37236,
    "c": 0.08558,
    "h": 153.5
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#0F4D2A
secondary
#873161
accent
#3E9FEA
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0F4D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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