#0F4628#0F4628

#0F4628 is a dark, moderate green. Relative luminance 0.046; OKLCH L 35.0% C 0.077 H 154.8°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#0F4628
RGBrgb(15, 70, 40)
HSLhsl(147, 65%, 17%)
HSVhsv(147, 79%, 27%)
CMYKcmyk(78.6%, 0%, 42.9%, 72.5%)
CIE-LABlab(25.67, -25.74, 13.12)
CIE-LCHlch(25.67, 28.89, 152.99°)
OKLaboklab(35.04% -0.0695 0.0328)
OKLCHoklch(35.04% 0.077 154.8)
XYZxyz(2.7699, 4.6348, 2.7557)
Luminance0.0464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4628 #460F2D
analogous
#12460F #0F4628 #0F4644
triadic
#0F4628 #280F46 #46280F
tetradic
#0F4628 #0F1246 #460F2D #46440F
square
#0F4628 #0F1246 #460F2D #46440F
split-complementary
#0F4628 #440F46 #460F12
monochromatic
#05190E #05190E #0F4628 #1A7845 #25AB62

Accessibility & contrast

On white

10.90
#0F4628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#0F4628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4628
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4628#FFFFFF#000000##FFFFFF
##0F46281.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464026
Deuteranopia (green-blind)
#3F3B2A
Tritanopia (blue-blind)
#00453E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0f4628;
/* rgb */ color: rgb(15, 70, 40);
/* oklch */ color: oklch(35.0% 0.077 154.8);
Tailwind
colors: {
  custom: {
    50: '#567a62',
    500: '#0f4628',
    950: '#000000',
  },
}
SCSS
$custom: #0f4628;
$custom-light: #567a62;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4628",
  "rgb": {
    "r": 15,
    "g": 70,
    "b": 40
  },
  "hsl": {
    "h": 147.273,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35039,
    "c": 0.07686,
    "h": 154.8
  },
  "luminance": 0.04635
}

Semantic roles & 50–950 ramp

primary
#0F4628
secondary
#80305C
accent
#409CE8
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030905
muted
#787B79

Preview Lab

Preview with #0F4628

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

Preview Lab → · Contrast checker → · Palette generator →

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