#0F5F25#0F5F25

#0F5F25 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.117 H 147.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#0F5F25
RGBrgb(15, 95, 37)
HSLhsl(137, 73%, 22%)
HSVhsv(137, 84%, 37%)
CMYKcmyk(84.2%, 0%, 61.1%, 62.7%)
CIE-LABlab(34.84, -36.63, 26.38)
CIE-LCHlch(34.84, 45.14, 144.24°)
OKLaboklab(42.61% -0.0985 0.0628)
OKLCHoklch(42.61% 0.117 147.5)
XYZxyz(4.6228, 8.4190, 3.1313)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F25 #5F0F49
analogous
#215F0F #0F5F25 #0F5F4D
triadic
#0F5F25 #250F5F #5F250F
tetradic
#0F5F25 #0F215F #5F0F49 #5F4D0F
square
#0F5F25 #0F215F #5F0F49 #5F4D0F
split-complementary
#0F5F25 #4D0F5F #5F0F21
monochromatic
#041A0A #072A10 #0F5F25 #17943A #20C94E

Accessibility & contrast

On white

7.82
#0F5F25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#0F5F25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5F25
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5F25#FFFFFF#000000##FFFFFF
##0F5F251.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60561F
Deuteranopia (green-blind)
#574F2A
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f5f25;
/* rgb */ color: rgb(15, 95, 37);
/* oklch */ color: oklch(42.6% 0.117 147.5);
Tailwind
colors: {
  custom: {
    50: '#5d8d61',
    500: '#0f5f25',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f25;
$custom-light: #5d8d61;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f25",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 37
  },
  "hsl": {
    "h": 136.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4261,
    "c": 0.11676,
    "h": 147.5
  },
  "luminance": 0.0842
}

Semantic roles & 50–950 ramp

primary
#0F5F25
secondary
#98327C
accent
#38BDEF
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F5F25

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

Preview Lab → · Contrast checker → · Palette generator →

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