#0F5D34#0F5D34

#0F5D34 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.099 H 154.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#0F5D34
RGBrgb(15, 93, 52)
HSLhsl(148, 72%, 21%)
HSVhsv(148, 84%, 36%)
CMYKcmyk(83.9%, 0%, 44.1%, 63.5%)
CIE-LABlab(34.35, -33.10, 17.27)
CIE-LCHlch(34.35, 37.34, 152.45°)
OKLaboklab(42.28% -0.0891 0.0429)
OKLCHoklch(42.28% 0.099 154.3)
XYZxyz(4.7307, 8.1776, 4.5773)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D34 #5D0F38
analogous
#115D0F #0F5D34 #0F5D5B
triadic
#0F5D34 #340F5D #5D340F
tetradic
#0F5D34 #0F115D #5D0F38 #5D5B0F
square
#0F5D34 #0F115D #5D0F38 #5D5B0F
split-complementary
#0F5D34 #5B0F5D #5D0F11
monochromatic
#041A0F #062817 #0F5D34 #179251 #20C66F

Accessibility & contrast

On white

7.97
#0F5D34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#0F5D34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5D34
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D34#FFFFFF#000000##FFFFFF
##0F5D341.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5531
Deuteranopia (green-blind)
#544E37
Tritanopia (blue-blind)
#005C53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5d34;
/* rgb */ color: rgb(15, 93, 52);
/* oklch */ color: oklch(42.3% 0.099 154.3);
Tailwind
colors: {
  custom: {
    50: '#5c8c6c',
    500: '#0f5d34',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d34;
$custom-light: #5c8c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d34",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 52
  },
  "hsl": {
    "h": 148.462,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.4228,
    "c": 0.0989,
    "h": 154.3
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#0F5D34
secondary
#963166
accent
#3999EF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C07
muted
#797D7A

Preview Lab

Preview with #0F5D34

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

Preview Lab → · Contrast checker → · Palette generator →

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