#0F6217#0F6217

#0F6217 is a dark, vivid green. Relative luminance 0.089; OKLCH L 43.4% C 0.132 H 143.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#0F6217
RGBrgb(15, 98, 23)
HSLhsl(126, 73%, 22%)
HSVhsv(126, 85%, 38%)
CMYKcmyk(84.7%, 0%, 76.5%, 61.6%)
CIE-LABlab(35.79, -39.45, 34.17)
CIE-LCHlch(35.79, 52.19, 139.11°)
OKLaboklab(43.35% -0.1067 0.0778)
OKLCHoklch(43.35% 0.132 143.9)
XYZxyz(4.7190, 8.8982, 2.2793)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6217 #620F5A
analogous
#31620F #0F6217 #0F6241
triadic
#0F6217 #170F62 #62170F
tetradic
#0F6217 #0F3162 #620F5A #62410F
square
#0F6217 #0F3162 #620F5A #62410F
split-complementary
#0F6217 #410F62 #620F31
monochromatic
#041B06 #072D0B #0F6217 #179723 #1FCC30

Accessibility & contrast

On white

7.55
#0F6217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#0F6217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F6217
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6217#FFFFFF#000000##FFFFFF
##0F62171.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580A
Deuteranopia (green-blind)
#5B521F
Tritanopia (blue-blind)
#005F53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #0f6217;
/* rgb */ color: rgb(15, 98, 23);
/* oklch */ color: oklch(43.4% 0.132 143.9);
Tailwind
colors: {
  custom: {
    50: '#5f9059',
    500: '#0f6217',
    950: '#000000',
  },
}
SCSS
$custom: #0f6217;
$custom-light: #5f9059;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6217",
  "rgb": {
    "r": 15,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 125.783,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43351,
    "c": 0.13202,
    "h": 143.9
  },
  "luminance": 0.08899
}

Semantic roles & 50–950 ramp

primary
#0F6217
secondary
#9B3291
accent
#38DEF0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #0F6217

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

Preview Lab → · Contrast checker → · Palette generator →

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