#0F5C25#0F5C25

#0F5C25 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.113 H 147.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#0F5C25
RGBrgb(15, 92, 37)
HSLhsl(137, 72%, 21%)
HSVhsv(137, 84%, 36%)
CMYKcmyk(83.7%, 0%, 59.8%, 63.9%)
CIE-LABlab(33.75, -35.49, 25.08)
CIE-LCHlch(33.75, 43.46, 144.75°)
OKLaboklab(41.71% -0.0954 0.0599)
OKLCHoklch(41.71% 0.113 147.9)
XYZxyz(4.3577, 7.8889, 3.0429)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C25 #5C0F46
analogous
#1F5C0F #0F5C25 #0F5C4B
triadic
#0F5C25 #250F5C #5C250F
tetradic
#0F5C25 #0F1F5C #5C0F46 #5C4B0F
square
#0F5C25 #0F1F5C #5C0F46 #5C4B0F
split-complementary
#0F5C25 #4B0F5C #5C0F1F
monochromatic
#041A0B #062710 #0F5C25 #18913A #20C54F

Accessibility & contrast

On white

8.15
#0F5C25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#0F5C25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5C25
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5C25#FFFFFF#000000##FFFFFF
##0F5C251.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5320
Deuteranopia (green-blind)
#544D29
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5c25;
/* rgb */ color: rgb(15, 92, 37);
/* oklch */ color: oklch(41.7% 0.113 147.9);
Tailwind
colors: {
  custom: {
    50: '#5d8b61',
    500: '#0f5c25',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c25;
$custom-light: #5d8b61;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c25",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 37
  },
  "hsl": {
    "h": 137.143,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41706,
    "c": 0.11263,
    "h": 147.9
  },
  "luminance": 0.07889
}

Semantic roles & 50–950 ramp

primary
#0F5C25
secondary
#953179
accent
#39BBEF
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F5C25

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

Preview Lab → · Contrast checker → · Palette generator →

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