#0F4816#0F4816

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

Color values

HEX#0F4816
RGBrgb(15, 72, 22)
HSLhsl(127, 66%, 17%)
HSVhsv(127, 79%, 28%)
CMYKcmyk(79.2%, 0%, 69.4%, 71.8%)
CIE-LABlab(26.14, -29.85, 24.24)
CIE-LCHlch(26.14, 38.45, 140.92°)
OKLaboklab(35.34% -0.0807 0.0567)
OKLCHoklch(35.34% 0.099 144.9)
XYZxyz(2.6590, 4.7939, 1.5441)
Luminance0.0479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4816 #480F41
analogous
#25480F #0F4816 #0F4833
triadic
#0F4816 #160F48 #48160F
tetradic
#0F4816 #0F2548 #480F41 #48330F
square
#0F4816 #0F2548 #480F41 #48330F
split-complementary
#0F4816 #330F48 #480F25
monochromatic
#051908 #051908 #0F4816 #1A7B25 #24AD35

Accessibility & contrast

On white

10.72
#0F4816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#0F4816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4816
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4816#FFFFFF#000000##FFFFFF
##0F48161.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494110
Deuteranopia (green-blind)
#433C1A
Tritanopia (blue-blind)
#00463D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0f4816;
/* rgb */ color: rgb(15, 72, 22);
/* oklch */ color: oklch(35.3% 0.099 144.9);
Tailwind
colors: {
  custom: {
    50: '#587c55',
    500: '#0f4816',
    950: '#000000',
  },
}
SCSS
$custom: #0f4816;
$custom-light: #587c55;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4816",
  "rgb": {
    "r": 15,
    "g": 72,
    "b": 22
  },
  "hsl": {
    "h": 127.368,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35337,
    "c": 0.09859,
    "h": 144.9
  },
  "luminance": 0.04794
}

Semantic roles & 50–950 ramp

primary
#0F4816
secondary
#823078
accent
#3FD4E8
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #0F4816

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

Preview Lab → · Contrast checker → · Palette generator →

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