#0F4728#0F4728

#0F4728 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.3% C 0.078 H 154.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#0F4728
RGBrgb(15, 71, 40)
HSLhsl(147, 65%, 17%)
HSVhsv(147, 79%, 28%)
CMYKcmyk(78.9%, 0%, 43.7%, 72.2%)
CIE-LABlab(26.04, -26.19, 13.62)
CIE-LCHlch(26.04, 29.52, 152.53°)
OKLaboklab(35.35% -0.0707 0.034)
OKLCHoklch(35.35% 0.078 154.3)
XYZxyz(2.8330, 4.7609, 2.7767)
Luminance0.0476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4728 #470F2E
analogous
#12470F #0F4728 #0F4744
triadic
#0F4728 #280F47 #47280F
tetradic
#0F4728 #0F1247 #470F2E #47440F
square
#0F4728 #0F1247 #470F2E #47440F
split-complementary
#0F4728 #440F47 #470F12
monochromatic
#05190E #05190E #0F4728 #1A7A44 #24AC61

Accessibility & contrast

On white

10.76
#0F4728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#0F4728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4728
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4728#FFFFFF#000000##FFFFFF
##0F47281.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474126
Deuteranopia (green-blind)
#403C2A
Tritanopia (blue-blind)
#00463F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0f4728;
/* rgb */ color: rgb(15, 71, 40);
/* oklch */ color: oklch(35.3% 0.078 154.3);
Tailwind
colors: {
  custom: {
    50: '#577b62',
    500: '#0f4728',
    950: '#000000',
  },
}
SCSS
$custom: #0f4728;
$custom-light: #577b62;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4728",
  "rgb": {
    "r": 15,
    "g": 71,
    "b": 40
  },
  "hsl": {
    "h": 146.786,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35348,
    "c": 0.07843,
    "h": 154.3
  },
  "luminance": 0.04761
}

Semantic roles & 50–950 ramp

primary
#0F4728
secondary
#81305D
accent
#409DE8
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#030905
muted
#787B79

Preview Lab

Preview with #0F4728

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

Preview Lab → · Contrast checker → · Palette generator →

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