#0F6838#0F6838

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

Color values

HEX#0F6838
RGBrgb(15, 104, 56)
HSLhsl(148, 75%, 23%)
HSVhsv(148, 86%, 41%)
CMYKcmyk(85.6%, 0%, 46.2%, 59.2%)
CIE-LABlab(38.35, -36.75, 20.15)
CIE-LCHlch(38.35, 41.91, 151.26°)
OKLaboklab(45.61% -0.0987 0.0498)
OKLCHoklch(45.61% 0.111 153.3)
XYZxyz(5.8606, 10.2870, 5.4173)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6838 #680F3F
analogous
#13680F #0F6838 #0F6864
triadic
#0F6838 #380F68 #68380F
tetradic
#0F6838 #0F1368 #680F3F #68640F
square
#0F6838 #0F1368 #680F3F #68640F
split-complementary
#0F6838 #640F68 #680F13
monochromatic
#041B0E #07331B #0F6838 #179D55 #1ED372

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F6838#FFFFFF#000000##FFFFFF
##0F68381.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)
#685F34
Deuteranopia (green-blind)
#5E573B
Tritanopia (blue-blind)
#00675C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #0f6838;
/* rgb */ color: rgb(15, 104, 56);
/* oklch */ color: oklch(45.6% 0.111 153.3);
Tailwind
colors: {
  custom: {
    50: '#5f946f',
    500: '#0f6838',
    950: '#000000',
  },
}
SCSS
$custom: #0f6838;
$custom-light: #5f946f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6838",
  "rgb": {
    "r": 15,
    "g": 104,
    "b": 56
  },
  "hsl": {
    "h": 147.64,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45612,
    "c": 0.11058,
    "h": 153.3
  },
  "luminance": 0.10288
}

Semantic roles & 50–950 ramp

primary
#0F6838
secondary
#A1326E
accent
#369BF1
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#050D07
muted
#7A7E7A

Preview Lab

Preview with #0F6838

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

Preview Lab → · Contrast checker → · Palette generator →

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