#0F5F2D#0F5F2D

#0F5F2D is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.109 H 150.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#0F5F2D
RGBrgb(15, 95, 45)
HSLhsl(143, 73%, 22%)
HSVhsv(143, 84%, 37%)
CMYKcmyk(84.2%, 0%, 52.6%, 62.7%)
CIE-LABlab(34.95, -35.29, 22.11)
CIE-LCHlch(34.95, 41.65, 147.93°)
OKLaboklab(42.74% -0.0948 0.0538)
OKLCHoklch(42.74% 0.109 150.4)
XYZxyz(4.7625, 8.4749, 3.8669)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F2D #5F0F41
analogous
#195F0F #0F5F2D #0F5F55
triadic
#0F5F2D #2D0F5F #5F2D0F
tetradic
#0F5F2D #0F195F #5F0F41 #5F550F
square
#0F5F2D #0F195F #5F0F41 #5F550F
split-complementary
#0F5F2D #550F5F #5F0F19
monochromatic
#041A0D #072A14 #0F5F2D #179446 #20C95F

Accessibility & contrast

On white

7.79
#0F5F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#0F5F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5F2D
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5F2D#FFFFFF#000000##FFFFFF
##0F5F2D1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605629
Deuteranopia (green-blind)
#575031
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f5f2d;
/* rgb */ color: rgb(15, 95, 45);
/* oklch */ color: oklch(42.7% 0.109 150.4);
Tailwind
colors: {
  custom: {
    50: '#5d8d67',
    500: '#0f5f2d',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f2d;
$custom-light: #5d8d67;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f2d",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 45
  },
  "hsl": {
    "h": 142.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4274,
    "c": 0.10897,
    "h": 150.4
  },
  "luminance": 0.08475
}

Semantic roles & 50–950 ramp

primary
#0F5F2D
secondary
#983272
accent
#38ABEF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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