#0F6917#0F6917

#0F6917 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.5% C 0.141 H 143.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#0F6917
RGBrgb(15, 105, 23)
HSLhsl(125, 75%, 24%)
HSVhsv(125, 86%, 41%)
CMYKcmyk(85.7%, 0%, 78.1%, 58.8%)
CIE-LABlab(38.32, -41.87, 36.75)
CIE-LCHlch(38.32, 55.71, 138.73°)
OKLaboklab(45.45% -0.1133 0.0831)
OKLCHoklch(45.45% 0.141 143.7)
XYZxyz(5.4029, 10.2659, 2.5072)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6917 #690F61
analogous
#34690F #0F6917 #0F6944
triadic
#0F6917 #170F69 #69170F
tetradic
#0F6917 #0F3469 #690F61 #69440F
square
#0F6917 #0F3469 #690F61 #69440F
split-complementary
#0F6917 #440F69 #690F34
monochromatic
#041B06 #07330B #0F6917 #179F23 #1ED42E

Accessibility & contrast

On white

6.88
#0F6917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#0F6917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F6917
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6917#FFFFFF#000000##FFFFFF
##0F69171.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E07
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #0f6917;
/* rgb */ color: rgb(15, 105, 23);
/* oklch */ color: oklch(45.5% 0.141 143.7);
Tailwind
colors: {
  custom: {
    50: '#61955a',
    500: '#0f6917',
    950: '#000000',
  },
}
SCSS
$custom: #0f6917;
$custom-light: #61955a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6917",
  "rgb": {
    "r": 15,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 125.333,
    "s": 75,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45454,
    "c": 0.1405,
    "h": 143.7
  },
  "luminance": 0.10267
}

Semantic roles & 50–950 ramp

primary
#0F6917
secondary
#A13298
accent
#36E1F2
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #0F6917

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

Preview Lab → · Contrast checker → · Palette generator →

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