#0F701B#0F701B

#0F701B is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.6% C 0.146 H 144.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#0F701B
RGBrgb(15, 112, 27)
HSLhsl(127, 76%, 25%)
HSVhsv(127, 87%, 44%)
CMYKcmyk(86.6%, 0%, 75.9%, 56.1%)
CIE-LABlab(40.85, -43.87, 37.72)
CIE-LCHlch(40.85, 57.86, 139.31°)
OKLaboklab(47.57% -0.1185 0.0857)
OKLCHoklch(47.57% 0.146 144.1)
XYZxyz(6.1886, 11.7683, 2.9820)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F701B #700F64
analogous
#33700F #0F701B #0F704C
triadic
#0F701B #1B0F70 #701B0F
tetradic
#0F701B #0F3370 #700F64 #704C0F
square
#0F701B #0F3370 #700F64 #704C0F
split-complementary
#0F701B #4C0F70 #700F33
monochromatic
#041B07 #083A0E #0F701B #16A628 #1DDC35

Accessibility & contrast

On white

6.26
#0F701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #0F701B
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F701B#FFFFFF#000000##FFFFFF
##0F701B1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72650C
Deuteranopia (green-blind)
#685E24
Tritanopia (blue-blind)
#006D5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #0f701b;
/* rgb */ color: rgb(15, 112, 27);
/* oklch */ color: oklch(47.6% 0.146 144.1);
Tailwind
colors: {
  custom: {
    50: '#639a5d',
    500: '#0f701b',
    950: '#000000',
  },
}
SCSS
$custom: #0f701b;
$custom-light: #639a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f701b",
  "rgb": {
    "r": 15,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 127.423,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47568,
    "c": 0.14629,
    "h": 144.1
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#0F701B
secondary
#A83399
accent
#35DBF3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #0F701B

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

Preview Lab → · Contrast checker → · Palette generator →

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