#0F6317#0F6317

#0F6317 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.7% C 0.133 H 143.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#0F6317
RGBrgb(15, 99, 23)
HSLhsl(126, 74%, 22%)
HSVhsv(126, 85%, 39%)
CMYKcmyk(84.8%, 0%, 76.8%, 61.2%)
CIE-LABlab(36.15, -39.80, 34.54)
CIE-LCHlch(36.15, 52.70, 139.05°)
OKLaboklab(43.65% -0.1076 0.0785)
OKLCHoklch(43.65% 0.133 143.9)
XYZxyz(4.8132, 9.0865, 2.3106)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6317 #630F5B
analogous
#31630F #0F6317 #0F6341
triadic
#0F6317 #170F63 #63170F
tetradic
#0F6317 #0F3163 #630F5B #63410F
square
#0F6317 #0F3163 #630F5B #63410F
split-complementary
#0F6317 #410F63 #630F31
monochromatic
#041B06 #072E0B #0F6317 #179823 #1FCD30

Accessibility & contrast

On white

7.45
#0F6317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#0F6317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F6317
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6317#FFFFFF#000000##FFFFFF
##0F63171.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590A
Deuteranopia (green-blind)
#5C531F
Tritanopia (blue-blind)
#006054
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #0f6317;
/* rgb */ color: rgb(15, 99, 23);
/* oklch */ color: oklch(43.7% 0.133 143.9);
Tailwind
colors: {
  custom: {
    50: '#5f9059',
    500: '#0f6317',
    950: '#000000',
  },
}
SCSS
$custom: #0f6317;
$custom-light: #5f9059;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6317",
  "rgb": {
    "r": 15,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 125.714,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43653,
    "c": 0.13325,
    "h": 143.9
  },
  "luminance": 0.09087
}

Semantic roles & 50–950 ramp

primary
#0F6317
secondary
#9C3292
accent
#37DFF0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050D04
muted
#7A7D79

Preview Lab

Preview with #0F6317

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

Preview Lab → · Contrast checker → · Palette generator →

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