#0F7F1D#0F7F1D

#0F7F1D is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.0% C 0.162 H 144.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#0F7F1D
RGBrgb(15, 127, 29)
HSLhsl(128, 79%, 28%)
HSVhsv(128, 88%, 50%)
CMYKcmyk(88.2%, 0%, 77.2%, 50.2%)
CIE-LABlab(46.13, -48.63, 42.31)
CIE-LCHlch(46.13, 64.46, 138.97°)
OKLaboklab(51.98% -0.1314 0.0956)
OKLCHoklch(51.98% 0.162 144)
XYZxyz(8.0076, 15.3680, 3.7064)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7F1D #7F0F71
analogous
#397F0F #0F7F1D #0F7F55
triadic
#0F7F1D #1D0F7F #7F1D0F
tetradic
#0F7F1D #0F397F #7F0F71 #7F550F
square
#0F7F1D #0F397F #7F0F71 #7F550F
split-complementary
#0F7F1D #550F7F #7F0F39
monochromatic
#031B06 #094811 #0F7F1D #15B629 #23E53C

Accessibility & contrast

On white

5.15
#0F7F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#0F7F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F7F1D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F7F1D#FFFFFF#000000##FFFFFF
##0F7F1D1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827209
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #0f7f1d;
/* rgb */ color: rgb(15, 127, 29);
/* oklch */ color: oklch(52.0% 0.162 144.0);
Tailwind
colors: {
  custom: {
    50: '#67a560',
    500: '#0f7f1d',
    950: '#000000',
  },
}
SCSS
$custom: #0f7f1d;
$custom-light: #67a560;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7f1d",
  "rgb": {
    "r": 15,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 127.5,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51975,
    "c": 0.16249,
    "h": 144
  },
  "luminance": 0.15369
}

Semantic roles & 50–950 ramp

primary
#0F7F1D
secondary
#B534A5
accent
#32DDF5
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #0F7F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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