#0F4D2B#0F4D2B

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

Color values

HEX#0F4D2B
RGBrgb(15, 77, 43)
HSLhsl(147, 67%, 18%)
HSVhsv(147, 81%, 30%)
CMYKcmyk(80.5%, 0%, 44.2%, 69.8%)
CIE-LABlab(28.34, -28.21, 14.79)
CIE-LCHlch(28.34, 31.85, 152.33°)
OKLaboklab(37.26% -0.0761 0.0368)
OKLCHoklch(37.26% 0.084 154.2)
XYZxyz(3.2866, 5.5834, 3.1895)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D2B #4D0F31
analogous
#124D0F #0F4D2B #0F4D4A
triadic
#0F4D2B #2B0F4D #4D2B0F
tetradic
#0F4D2B #0F124D #4D0F31 #4D4A0F
square
#0F4D2B #0F124D #4D0F31 #4D4A0F
split-complementary
#0F4D2B #4A0F4D #4D0F12
monochromatic
#051A0E #051A0E #0F4D2B #198048 #23B364

Accessibility & contrast

On white

9.92
#0F4D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4D2B
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4D2B#FFFFFF#000000##FFFFFF
##0F4D2B1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f4d2b;
/* rgb */ color: rgb(15, 77, 43);
/* oklch */ color: oklch(37.3% 0.084 154.2);
Tailwind
colors: {
  custom: {
    50: '#587f64',
    500: '#0f4d2b',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d2b;
$custom-light: #587f64;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d2b",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 43
  },
  "hsl": {
    "h": 147.097,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37259,
    "c": 0.08449,
    "h": 154.2
  },
  "luminance": 0.05584
}

Semantic roles & 50–950 ramp

primary
#0F4D2B
secondary
#873160
accent
#3E9CEA
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #0F4D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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