#0F4C2C#0F4C2C

#0F4C2C is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.082 H 155.3°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#0F4C2C
RGBrgb(15, 76, 44)
HSLhsl(149, 67%, 18%)
HSVhsv(149, 80%, 30%)
CMYKcmyk(80.3%, 0%, 42.1%, 70.2%)
CIE-LABlab(27.99, -27.54, 13.71)
CIE-LCHlch(27.99, 30.76, 153.54°)
OKLaboklab(36.98% -0.0744 0.0343)
OKLCHoklch(36.98% 0.082 155.3)
XYZxyz(3.2358, 5.4519, 3.2642)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4C2C #4C0F2F
analogous
#104C0F #0F4C2C #0F4C4A
triadic
#0F4C2C #2C0F4C #4C2C0F
tetradic
#0F4C2C #0F104C #4C0F2F #4C4A0F
square
#0F4C2C #0F104C #4C0F2F #4C4A0F
split-complementary
#0F4C2C #4A0F4C #4C0F10
monochromatic
#051A0F #051A0F #0F4C2C #197F4A #23B267

Accessibility & contrast

On white

10.05
#0F4C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4C2C
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4C2C#FFFFFF#000000##FFFFFF
##0F4C2C1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C452A
Deuteranopia (green-blind)
#44402E
Tritanopia (blue-blind)
#004B44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0f4c2c;
/* rgb */ color: rgb(15, 76, 44);
/* oklch */ color: oklch(37.0% 0.082 155.3);
Tailwind
colors: {
  custom: {
    50: '#587f65',
    500: '#0f4c2c',
    950: '#000000',
  },
}
SCSS
$custom: #0f4c2c;
$custom-light: #587f65;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4c2c",
  "rgb": {
    "r": 15,
    "g": 76,
    "b": 44
  },
  "hsl": {
    "h": 148.525,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36976,
    "c": 0.08188,
    "h": 155.3
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

primary
#0F4C2C
secondary
#86315E
accent
#3E98EA
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #0F4C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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