#0F4C27#0F4C27

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

Color values

HEX#0F4C27
RGBrgb(15, 76, 39)
HSLhsl(144, 67%, 18%)
HSVhsv(144, 80%, 30%)
CMYKcmyk(80.3%, 0%, 48.7%, 70.2%)
CIE-LABlab(27.89, -28.62, 16.65)
CIE-LCHlch(27.89, 33.11, 149.81°)
OKLaboklab(36.87% -0.077 0.041)
OKLCHoklch(36.87% 0.087 152)
XYZxyz(3.1474, 5.4166, 2.7987)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4C27 #4C0F34
analogous
#154C0F #0F4C27 #0F4C45
triadic
#0F4C27 #270F4C #4C270F
tetradic
#0F4C27 #0F154C #4C0F34 #4C450F
square
#0F4C27 #0F154C #4C0F34 #4C450F
split-complementary
#0F4C27 #450F4C #4C0F15
monochromatic
#051A0D #051A0D #0F4C27 #197F41 #23B25B

Accessibility & contrast

On white

10.08
#0F4C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#0F4C27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4C27
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4C27#FFFFFF#000000##FFFFFF
##0F4C271.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4524
Deuteranopia (green-blind)
#45402A
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0f4c27;
/* rgb */ color: rgb(15, 76, 39);
/* oklch */ color: oklch(36.9% 0.087 152.0);
Tailwind
colors: {
  custom: {
    50: '#587f61',
    500: '#0f4c27',
    950: '#000000',
  },
}
SCSS
$custom: #0f4c27;
$custom-light: #587f61;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4c27",
  "rgb": {
    "r": 15,
    "g": 76,
    "b": 39
  },
  "hsl": {
    "h": 143.607,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36866,
    "c": 0.08728,
    "h": 152
  },
  "luminance": 0.05417
}

Semantic roles & 50–950 ramp

primary
#0F4C27
secondary
#863165
accent
#3EA6EA
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0F4C27

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

Preview Lab → · Contrast checker → · Palette generator →

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