#0F6837#0F6837

#0F6837 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.6% C 0.112 H 152.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#0F6837
RGBrgb(15, 104, 55)
HSLhsl(147, 75%, 23%)
HSVhsv(147, 86%, 41%)
CMYKcmyk(85.6%, 0%, 47.1%, 59.2%)
CIE-LABlab(38.34, -36.95, 20.70)
CIE-LCHlch(38.34, 42.35, 150.73°)
OKLaboklab(45.59% -0.0992 0.051)
OKLCHoklch(45.59% 0.112 152.8)
XYZxyz(5.8364, 10.2773, 5.2898)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6837 #680F40
analogous
#14680F #0F6837 #0F6863
triadic
#0F6837 #370F68 #68370F
tetradic
#0F6837 #0F1468 #680F40 #68630F
square
#0F6837 #0F1468 #680F40 #68630F
split-complementary
#0F6837 #630F68 #680F14
monochromatic
#041B0E #07331B #0F6837 #179D53 #1ED370

Accessibility & contrast

On white

6.87
#0F6837 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#0F6837 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F6837
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6837#FFFFFF#000000##FFFFFF
##0F68371.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685F33
Deuteranopia (green-blind)
#5E573A
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #0f6837;
/* rgb */ color: rgb(15, 104, 55);
/* oklch */ color: oklch(45.6% 0.112 152.8);
Tailwind
colors: {
  custom: {
    50: '#5f946e',
    500: '#0f6837',
    950: '#000000',
  },
}
SCSS
$custom: #0f6837;
$custom-light: #5f946e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6837",
  "rgb": {
    "r": 15,
    "g": 104,
    "b": 55
  },
  "hsl": {
    "h": 146.966,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45592,
    "c": 0.11159,
    "h": 152.8
  },
  "luminance": 0.10278
}

Semantic roles & 50–950 ramp

primary
#0F6837
secondary
#A1326F
accent
#369DF1
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#050D07
muted
#7A7E7A

Preview Lab

Preview with #0F6837

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

Preview Lab → · Contrast checker → · Palette generator →

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