#0F5D25#0F5D25

#0F5D25 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.0% C 0.114 H 147.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#0F5D25
RGBrgb(15, 93, 37)
HSLhsl(137, 72%, 21%)
HSVhsv(137, 84%, 36%)
CMYKcmyk(83.9%, 0%, 60.2%, 63.5%)
CIE-LABlab(34.11, -35.87, 25.52)
CIE-LCHlch(34.11, 44.02, 144.57°)
OKLaboklab(42.01% -0.0964 0.0609)
OKLCHoklch(42.01% 0.114 147.7)
XYZxyz(4.4449, 8.0633, 3.0720)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D25 #5D0F47
analogous
#205D0F #0F5D25 #0F5D4C
triadic
#0F5D25 #250F5D #5D250F
tetradic
#0F5D25 #0F205D #5D0F47 #5D4C0F
square
#0F5D25 #0F205D #5D0F47 #5D4C0F
split-complementary
#0F5D25 #4C0F5D #5D0F20
monochromatic
#041A0A #062810 #0F5D25 #17923A #20C64F

Accessibility & contrast

On white

8.04
#0F5D25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#0F5D25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5D25
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D25#FFFFFF#000000##FFFFFF
##0F5D251.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5420
Deuteranopia (green-blind)
#554E29
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5d25;
/* rgb */ color: rgb(15, 93, 37);
/* oklch */ color: oklch(42.0% 0.114 147.7);
Tailwind
colors: {
  custom: {
    50: '#5d8c61',
    500: '#0f5d25',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d25;
$custom-light: #5d8c61;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d25",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 37
  },
  "hsl": {
    "h": 136.923,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42008,
    "c": 0.11402,
    "h": 147.7
  },
  "luminance": 0.08064
}

Semantic roles & 50–950 ramp

primary
#0F5D25
secondary
#96317A
accent
#39BCEF
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F5D25

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

Preview Lab → · Contrast checker → · Palette generator →

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