#0F5D2B#0F5D2B

#0F5D2B is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.108 H 150.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#0F5D2B
RGBrgb(15, 93, 43)
HSLhsl(142, 72%, 21%)
HSVhsv(142, 84%, 36%)
CMYKcmyk(83.9%, 0%, 53.8%, 63.5%)
CIE-LABlab(34.20, -34.86, 22.30)
CIE-LCHlch(34.20, 41.39, 147.40°)
OKLaboklab(42.11% -0.0936 0.0541)
OKLCHoklch(42.11% 0.108 150)
XYZxyz(4.5470, 8.1041, 3.6096)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D2B #5D0F41
analogous
#1A5D0F #0F5D2B #0F5D52
triadic
#0F5D2B #2B0F5D #5D2B0F
tetradic
#0F5D2B #0F1A5D #5D0F41 #5D520F
square
#0F5D2B #0F1A5D #5D0F41 #5D520F
split-complementary
#0F5D2B #520F5D #5D0F1A
monochromatic
#041A0C #062813 #0F5D2B #179243 #20C65C

Accessibility & contrast

On white

8.01
#0F5D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#0F5D2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5D2B
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D2B#FFFFFF#000000##FFFFFF
##0F5D2B1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5d2b;
/* rgb */ color: rgb(15, 93, 43);
/* oklch */ color: oklch(42.1% 0.108 150.0);
Tailwind
colors: {
  custom: {
    50: '#5d8c65',
    500: '#0f5d2b',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d2b;
$custom-light: #5d8c65;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d2b",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 43
  },
  "hsl": {
    "h": 141.538,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42105,
    "c": 0.10814,
    "h": 150
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#0F5D2B
secondary
#963172
accent
#39AEEF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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