#0F4F19#0F4F19

#0F4F19 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.6% C 0.106 H 145.3°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#0F4F19
RGBrgb(15, 79, 25)
HSLhsl(129, 68%, 18%)
HSVhsv(129, 81%, 31%)
CMYKcmyk(81%, 0%, 68.4%, 69%)
CIE-LABlab(28.81, -32.22, 25.70)
CIE-LCHlch(28.81, 41.21, 141.42°)
OKLaboklab(37.56% -0.0869 0.0601)
OKLCHoklch(37.56% 0.106 145.3)
XYZxyz(3.1682, 5.7633, 1.8650)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F19 #4F0F45
analogous
#254F0F #0F4F19 #0F4F39
triadic
#0F4F19 #190F4F #4F190F
tetradic
#0F4F19 #0F254F #4F0F45 #4F390F
square
#0F4F19 #0F254F #4F0F45 #4F390F
split-complementary
#0F4F19 #390F4F #4F0F25
monochromatic
#051A08 #051C09 #0F4F19 #198229 #23B63A

Accessibility & contrast

On white

9.75
#0F4F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#0F4F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4F19
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F19#FFFFFF#000000##FFFFFF
##0F4F191.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504713
Deuteranopia (green-blind)
#49421E
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0f4f19;
/* rgb */ color: rgb(15, 79, 25);
/* oklch */ color: oklch(37.6% 0.106 145.3);
Tailwind
colors: {
  custom: {
    50: '#598158',
    500: '#0f4f19',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f19;
$custom-light: #598158;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f19",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 25
  },
  "hsl": {
    "h": 129.375,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3756,
    "c": 0.10572,
    "h": 145.3
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#0F4F19
secondary
#89317B
accent
#3DD0EB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4F19

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

Preview Lab → · Contrast checker → · Palette generator →

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