#0F4C2A#0F4C2A

#0F4C2A is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.9% C 0.084 H 153.9°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#0F4C2A
RGBrgb(15, 76, 42)
HSLhsl(147, 67%, 18%)
HSVhsv(147, 80%, 30%)
CMYKcmyk(80.3%, 0%, 44.7%, 70.2%)
CIE-LABlab(27.95, -27.99, 14.89)
CIE-LCHlch(27.95, 31.70, 151.98°)
OKLaboklab(36.93% -0.0754 0.037)
OKLCHoklch(36.93% 0.084 153.9)
XYZxyz(3.1991, 5.4372, 3.0709)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4C2A #4C0F31
analogous
#134C0F #0F4C2A #0F4C48
triadic
#0F4C2A #2A0F4C #4C2A0F
tetradic
#0F4C2A #0F134C #4C0F31 #4C480F
square
#0F4C2A #0F134C #4C0F31 #4C480F
split-complementary
#0F4C2A #480F4C #4C0F13
monochromatic
#051A0E #051A0E #0F4C2A #197F46 #23B262

Accessibility & contrast

On white

10.06
#0F4C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#0F4C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4C2A
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4C2A#FFFFFF#000000##FFFFFF
##0F4C2A1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4528
Deuteranopia (green-blind)
#45402C
Tritanopia (blue-blind)
#004B44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0f4c2a;
/* rgb */ color: rgb(15, 76, 42);
/* oklch */ color: oklch(36.9% 0.084 153.9);
Tailwind
colors: {
  custom: {
    50: '#587f64',
    500: '#0f4c2a',
    950: '#000000',
  },
}
SCSS
$custom: #0f4c2a;
$custom-light: #587f64;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4c2a",
  "rgb": {
    "r": 15,
    "g": 76,
    "b": 42
  },
  "hsl": {
    "h": 146.557,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3693,
    "c": 0.08404,
    "h": 153.9
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#0F4C2A
secondary
#863160
accent
#3E9EEA
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0F4C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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