#0F5D2A#0F5D2A

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

Color values

HEX#0F5D2A
RGBrgb(15, 93, 42)
HSLhsl(141, 72%, 21%)
HSVhsv(141, 84%, 36%)
CMYKcmyk(83.9%, 0%, 54.8%, 63.5%)
CIE-LABlab(34.18, -35.04, 22.85)
CIE-LCHlch(34.18, 41.83, 146.90°)
OKLaboklab(42.09% -0.0941 0.0553)
OKLCHoklch(42.09% 0.109 149.6)
XYZxyz(4.5289, 8.0969, 3.5142)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D2A #5D0F42
analogous
#1B5D0F #0F5D2A #0F5D51
triadic
#0F5D2A #2A0F5D #5D2A0F
tetradic
#0F5D2A #0F1B5D #5D0F42 #5D510F
square
#0F5D2A #0F1B5D #5D0F42 #5D510F
split-complementary
#0F5D2A #510F5D #5D0F1B
monochromatic
#041A0C #062812 #0F5D2A #179242 #20C65A

Accessibility & contrast

On white

8.02
#0F5D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5D2A
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D2A#FFFFFF#000000##FFFFFF
##0F5D2A1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5d2a;
/* rgb */ color: rgb(15, 93, 42);
/* oklch */ color: oklch(42.1% 0.109 149.6);
Tailwind
colors: {
  custom: {
    50: '#5d8c65',
    500: '#0f5d2a',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d2a;
$custom-light: #5d8c65;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d2a",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 42
  },
  "hsl": {
    "h": 140.769,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42088,
    "c": 0.10914,
    "h": 149.6
  },
  "luminance": 0.08097
}

Semantic roles & 50–950 ramp

primary
#0F5D2A
secondary
#963173
accent
#39B0EF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #0F5D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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