#0F4F25#0F4F25

#0F4F25 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.094 H 150.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#0F4F25
RGBrgb(15, 79, 37)
HSLhsl(141, 68%, 18%)
HSVhsv(141, 81%, 31%)
CMYKcmyk(81%, 0%, 53.2%, 69%)
CIE-LABlab(28.97, -30.29, 19.22)
CIE-LCHlch(28.97, 35.87, 147.60°)
OKLaboklab(37.75% -0.0814 0.0468)
OKLCHoklch(37.75% 0.094 150.1)
XYZxyz(3.3266, 5.8267, 2.6993)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F25 #4F0F39
analogous
#194F0F #0F4F25 #0F4F45
triadic
#0F4F25 #250F4F #4F250F
tetradic
#0F4F25 #0F194F #4F0F39 #4F450F
square
#0F4F25 #0F194F #4F0F39 #4F450F
split-complementary
#0F4F25 #450F4F #4F0F19
monochromatic
#051A0C #051C0D #0F4F25 #19823D #23B655

Accessibility & contrast

On white

9.70
#0F4F25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#0F4F25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4F25
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F25#FFFFFF#000000##FFFFFF
##0F4F251.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504722
Deuteranopia (green-blind)
#484228
Tritanopia (blue-blind)
#004D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0f4f25;
/* rgb */ color: rgb(15, 79, 37);
/* oklch */ color: oklch(37.7% 0.094 150.1);
Tailwind
colors: {
  custom: {
    50: '#598160',
    500: '#0f4f25',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f25;
$custom-light: #598160;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f25",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 37
  },
  "hsl": {
    "h": 140.625,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37748,
    "c": 0.09395,
    "h": 150.1
  },
  "luminance": 0.05827
}

Semantic roles & 50–950 ramp

primary
#0F4F25
secondary
#89316B
accent
#3DAFEB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A05
muted
#797C79

Preview Lab

Preview with #0F4F25

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

Preview Lab → · Contrast checker → · Palette generator →

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