#0F5D27#0F5D27

#0F5D27 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.0% C 0.112 H 148.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#0F5D27
RGBrgb(15, 93, 39)
HSLhsl(138, 72%, 21%)
HSVhsv(138, 84%, 36%)
CMYKcmyk(83.9%, 0%, 58.1%, 63.5%)
CIE-LABlab(34.14, -35.55, 24.46)
CIE-LCHlch(34.14, 43.15, 145.47°)
OKLaboklab(42.04% -0.0955 0.0587)
OKLCHoklch(42.04% 0.112 148.4)
XYZxyz(4.4772, 8.0762, 3.2420)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D27 #5D0F45
analogous
#1E5D0F #0F5D27 #0F5D4E
triadic
#0F5D27 #270F5D #5D270F
tetradic
#0F5D27 #0F1E5D #5D0F45 #5D4E0F
square
#0F5D27 #0F1E5D #5D0F45 #5D4E0F
split-complementary
#0F5D27 #4E0F5D #5D0F1E
monochromatic
#041A0B #062811 #0F5D27 #17923D #20C653

Accessibility & contrast

On white

8.03
#0F5D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5D27
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D27#FFFFFF#000000##FFFFFF
##0F5D271.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5d27;
/* rgb */ color: rgb(15, 93, 39);
/* oklch */ color: oklch(42.0% 0.112 148.4);
Tailwind
colors: {
  custom: {
    50: '#5d8c62',
    500: '#0f5d27',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d27;
$custom-light: #5d8c62;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d27",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 39
  },
  "hsl": {
    "h": 138.462,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42039,
    "c": 0.1121,
    "h": 148.4
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#0F5D27
secondary
#963177
accent
#39B7EF
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F5D27

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

Preview Lab → · Contrast checker → · Palette generator →

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