#0F4C28#0F4C28

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

Color values

HEX#0F4C28
RGBrgb(15, 76, 40)
HSLhsl(145, 67%, 18%)
HSVhsv(145, 80%, 30%)
CMYKcmyk(80.3%, 0%, 47.4%, 70.2%)
CIE-LABlab(27.91, -28.41, 16.06)
CIE-LCHlch(27.91, 32.64, 150.52°)
OKLaboklab(36.89% -0.0765 0.0397)
OKLCHoklch(36.89% 0.086 152.6)
XYZxyz(3.1642, 5.4233, 2.8871)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4C28 #4C0F33
analogous
#144C0F #0F4C28 #0F4C46
triadic
#0F4C28 #280F4C #4C280F
tetradic
#0F4C28 #0F144C #4C0F33 #4C460F
square
#0F4C28 #0F144C #4C0F33 #4C460F
split-complementary
#0F4C28 #460F4C #4C0F14
monochromatic
#051A0D #051A0D #0F4C28 #197F43 #23B25E

Accessibility & contrast

On white

10.07
#0F4C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4C28
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4C28#FFFFFF#000000##FFFFFF
##0F4C281.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f4c28;
/* rgb */ color: rgb(15, 76, 40);
/* oklch */ color: oklch(36.9% 0.086 152.6);
Tailwind
colors: {
  custom: {
    50: '#587f62',
    500: '#0f4c28',
    950: '#000000',
  },
}
SCSS
$custom: #0f4c28;
$custom-light: #587f62;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4c28",
  "rgb": {
    "r": 15,
    "g": 76,
    "b": 40
  },
  "hsl": {
    "h": 144.59,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36887,
    "c": 0.08621,
    "h": 152.6
  },
  "luminance": 0.05424
}

Semantic roles & 50–950 ramp

primary
#0F4C28
secondary
#863163
accent
#3EA3EA
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0F4C28

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

Preview Lab → · Contrast checker → · Palette generator →

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