#0F7017#0F7017

#0F7017 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.5% C 0.149 H 143.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#0F7017
RGBrgb(15, 112, 23)
HSLhsl(125, 76%, 25%)
HSVhsv(125, 87%, 44%)
CMYKcmyk(86.6%, 0%, 79.5%, 56.1%)
CIE-LABlab(40.82, -44.22, 39.25)
CIE-LCHlch(40.82, 59.13, 138.41°)
OKLaboklab(47.54% -0.1197 0.0884)
OKLCHoklch(47.54% 0.149 143.6)
XYZxyz(6.1454, 11.7510, 2.7547)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7017 #700F68
analogous
#38700F #0F7017 #0F7047
triadic
#0F7017 #170F70 #70170F
tetradic
#0F7017 #0F3870 #700F68 #70470F
square
#0F7017 #0F3870 #700F68 #70470F
split-complementary
#0F7017 #470F70 #700F38
monochromatic
#041B06 #083A0C #0F7017 #16A622 #1DDC2D

Accessibility & contrast

On white

6.27
#0F7017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#0F7017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F7017
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F7017#FFFFFF#000000##FFFFFF
##0F70171.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726504
Deuteranopia (green-blind)
#685E21
Tritanopia (blue-blind)
#006D5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #0f7017;
/* rgb */ color: rgb(15, 112, 23);
/* oklch */ color: oklch(47.5% 0.149 143.6);
Tailwind
colors: {
  custom: {
    50: '#639a5b',
    500: '#0f7017',
    950: '#000000',
  },
}
SCSS
$custom: #0f7017;
$custom-light: #639a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7017",
  "rgb": {
    "r": 15,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 124.948,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47536,
    "c": 0.14875,
    "h": 143.6
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

primary
#0F7017
secondary
#A8339E
accent
#35E3F3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #0F7017

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

Preview Lab → · Contrast checker → · Palette generator →

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