#0F5827#0F5827

#0F5827 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.105 H 149.2°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#0F5827
RGBrgb(15, 88, 39)
HSLhsl(140, 71%, 20%)
HSVhsv(140, 83%, 35%)
CMYKcmyk(83%, 0%, 55.7%, 65.5%)
CIE-LABlab(32.32, -33.59, 22.23)
CIE-LCHlch(32.32, 40.28, 146.50°)
OKLaboklab(40.53% -0.0903 0.0537)
OKLCHoklch(40.53% 0.105 149.2)
XYZxyz(4.0526, 7.2270, 3.1004)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5827 #580F40
analogous
#1B580F #0F5827 #0F584B
triadic
#0F5827 #270F58 #58270F
tetradic
#0F5827 #0F1B58 #580F40 #584B0F
square
#0F5827 #0F1B58 #580F40 #584B0F
split-complementary
#0F5827 #4B0F58 #580F1B
monochromatic
#041A0C #062410 #0F5827 #188C3E #21C155

Accessibility & contrast

On white

8.59
#0F5827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#0F5827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5827
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5827#FFFFFF#000000##FFFFFF
##0F58271.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595023
Deuteranopia (green-blind)
#504A2B
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f5827;
/* rgb */ color: rgb(15, 88, 39);
/* oklch */ color: oklch(40.5% 0.105 149.2);
Tailwind
colors: {
  custom: {
    50: '#5b8862',
    500: '#0f5827',
    950: '#000000',
  },
}
SCSS
$custom: #0f5827;
$custom-light: #5b8862;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5827",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 39
  },
  "hsl": {
    "h": 139.726,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40528,
    "c": 0.10504,
    "h": 149.2
  },
  "luminance": 0.07227
}

Semantic roles & 50–950 ramp

primary
#0F5827
secondary
#923172
accent
#3AB3EE
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0F5827

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

Preview Lab → · Contrast checker → · Palette generator →

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