#0F4813#0F4813

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

Color values

HEX#0F4813
RGBrgb(15, 72, 19)
HSLhsl(124, 66%, 17%)
HSVhsv(124, 79%, 28%)
CMYKcmyk(79.2%, 0%, 73.6%, 71.8%)
CIE-LABlab(26.11, -30.23, 25.74)
CIE-LCHlch(26.11, 39.71, 139.59°)
OKLaboklab(35.3% -0.0819 0.0595)
OKLCHoklch(35.3% 0.101 144)
XYZxyz(2.6317, 4.7830, 1.4005)
Luminance0.0478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4813 #480F44
analogous
#27480F #0F4813 #0F4830
triadic
#0F4813 #130F48 #48130F
tetradic
#0F4813 #0F2748 #480F44 #48300F
square
#0F4813 #0F2748 #480F44 #48300F
split-complementary
#0F4813 #300F48 #480F27
monochromatic
#051907 #051907 #0F4813 #1A7B20 #24AD2E

Accessibility & contrast

On white

10.73
#0F4813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4813
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4813#FFFFFF#000000##FFFFFF
##0F48131.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410C
Deuteranopia (green-blind)
#433C18
Tritanopia (blue-blind)
#00463D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0f4813;
/* rgb */ color: rgb(15, 72, 19);
/* oklch */ color: oklch(35.3% 0.101 144.0);
Tailwind
colors: {
  custom: {
    50: '#587c53',
    500: '#0f4813',
    950: '#000000',
  },
}
SCSS
$custom: #0f4813;
$custom-light: #587c53;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4813",
  "rgb": {
    "r": 15,
    "g": 72,
    "b": 19
  },
  "hsl": {
    "h": 124.211,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.353,
    "c": 0.1012,
    "h": 144
  },
  "luminance": 0.04783
}

Semantic roles & 50–950 ramp

primary
#0F4813
secondary
#82307D
accent
#3FDDE8
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0F4813

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

Preview Lab → · Contrast checker → · Palette generator →

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