#0F5E27#0F5E27

#0F5E27 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.3% C 0.113 H 148.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#0F5E27
RGBrgb(15, 94, 39)
HSLhsl(138, 72%, 21%)
HSVhsv(138, 84%, 37%)
CMYKcmyk(84%, 0%, 58.5%, 63.1%)
CIE-LABlab(34.50, -35.94, 24.90)
CIE-LCHlch(34.50, 43.72, 145.28°)
OKLaboklab(42.34% -0.0965 0.0597)
OKLCHoklch(42.34% 0.113 148.3)
XYZxyz(4.5655, 8.2529, 3.2714)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5E27 #5E0F46
analogous
#1F5E0F #0F5E27 #0F5E4F
triadic
#0F5E27 #270F5E #5E270F
tetradic
#0F5E27 #0F1F5E #5E0F46 #5E4F0F
square
#0F5E27 #0F1F5E #5E0F46 #5E4F0F
split-complementary
#0F5E27 #4F0F5E #5E0F1F
monochromatic
#041A0B #072911 #0F5E27 #17933D #20C853

Accessibility & contrast

On white

7.92
#0F5E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#0F5E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5E27
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5E27#FFFFFF#000000##FFFFFF
##0F5E271.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5522
Deuteranopia (green-blind)
#564F2B
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5e27;
/* rgb */ color: rgb(15, 94, 39);
/* oklch */ color: oklch(42.3% 0.113 148.3);
Tailwind
colors: {
  custom: {
    50: '#5d8c63',
    500: '#0f5e27',
    950: '#000000',
  },
}
SCSS
$custom: #0f5e27;
$custom-light: #5d8c63;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5e27",
  "rgb": {
    "r": 15,
    "g": 94,
    "b": 39
  },
  "hsl": {
    "h": 138.228,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42339,
    "c": 0.11349,
    "h": 148.3
  },
  "luminance": 0.08253
}

Semantic roles & 50–950 ramp

primary
#0F5E27
secondary
#973178
accent
#39B8EF
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F5E27

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

Preview Lab → · Contrast checker → · Palette generator →

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