#0F6817#0F6817

#0F6817 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.2% C 0.139 H 143.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#0F6817
RGBrgb(15, 104, 23)
HSLhsl(125, 75%, 23%)
HSVhsv(125, 86%, 41%)
CMYKcmyk(85.6%, 0%, 77.9%, 59.2%)
CIE-LABlab(37.96, -41.53, 36.38)
CIE-LCHlch(37.96, 55.21, 138.78°)
OKLaboklab(45.16% -0.1123 0.0824)
OKLCHoklch(45.16% 0.139 143.7)
XYZxyz(5.3016, 10.0634, 2.4735)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6817 #680F60
analogous
#33680F #0F6817 #0F6843
triadic
#0F6817 #170F68 #68170F
tetradic
#0F6817 #0F3368 #680F60 #68430F
square
#0F6817 #0F3368 #680F60 #68430F
split-complementary
#0F6817 #430F68 #680F33
monochromatic
#041B06 #07330B #0F6817 #179D23 #1ED32F

Accessibility & contrast

On white

6.97
#0F6817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#0F6817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F6817
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6817#FFFFFF#000000##FFFFFF
##0F68171.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D08
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #0f6817;
/* rgb */ color: rgb(15, 104, 23);
/* oklch */ color: oklch(45.2% 0.139 143.7);
Tailwind
colors: {
  custom: {
    50: '#61945a',
    500: '#0f6817',
    950: '#000000',
  },
}
SCSS
$custom: #0f6817;
$custom-light: #61945a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6817",
  "rgb": {
    "r": 15,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 125.393,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45155,
    "c": 0.13931,
    "h": 143.7
  },
  "luminance": 0.10064
}

Semantic roles & 50–950 ramp

primary
#0F6817
secondary
#A13297
accent
#36E1F1
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #0F6817

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

Preview Lab → · Contrast checker → · Palette generator →

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