#0F4D2C#0F4D2C

#0F4D2C is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.3% C 0.083 H 154.9°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#0F4D2C
RGBrgb(15, 77, 44)
HSLhsl(148, 67%, 18%)
HSVhsv(148, 81%, 30%)
CMYKcmyk(80.5%, 0%, 42.9%, 69.8%)
CIE-LABlab(28.36, -27.99, 14.20)
CIE-LCHlch(28.36, 31.38, 153.10°)
OKLaboklab(37.28% -0.0755 0.0354)
OKLCHoklch(37.28% 0.083 154.9)
XYZxyz(3.3052, 5.5908, 3.2873)
Luminance0.0559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D2C #4D0F30
analogous
#114D0F #0F4D2C #0F4D4B
triadic
#0F4D2C #2C0F4D #4D2C0F
tetradic
#0F4D2C #0F114D #4D0F30 #4D4B0F
square
#0F4D2C #0F114D #4D0F30 #4D4B0F
split-complementary
#0F4D2C #4B0F4D #4D0F11
monochromatic
#051A0F #051A0F #0F4D2C #198049 #23B367

Accessibility & contrast

On white

9.91
#0F4D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4D2C
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4D2C#FFFFFF#000000##FFFFFF
##0F4D2C1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D462A
Deuteranopia (green-blind)
#45412E
Tritanopia (blue-blind)
#004C45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0f4d2c;
/* rgb */ color: rgb(15, 77, 44);
/* oklch */ color: oklch(37.3% 0.083 154.9);
Tailwind
colors: {
  custom: {
    50: '#587f65',
    500: '#0f4d2c',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d2c;
$custom-light: #587f65;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d2c",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 44
  },
  "hsl": {
    "h": 148.065,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37281,
    "c": 0.08343,
    "h": 154.9
  },
  "luminance": 0.05591
}

Semantic roles & 50–950 ramp

primary
#0F4D2C
secondary
#87315F
accent
#3E99EA
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #0F4D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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