#0F7F1B#0F7F1B

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

Color values

HEX#0F7F1B
RGBrgb(15, 127, 27)
HSLhsl(126, 79%, 28%)
HSVhsv(126, 88%, 50%)
CMYKcmyk(88.2%, 0%, 78.7%, 50.2%)
CIE-LABlab(46.12, -48.79, 43.03)
CIE-LCHlch(46.12, 65.05, 138.59°)
OKLaboklab(51.96% -0.1319 0.0968)
OKLCHoklch(51.96% 0.164 143.7)
XYZxyz(7.9837, 15.3584, 3.5804)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7F1B #7F0F73
analogous
#3B7F0F #0F7F1B #0F7F53
triadic
#0F7F1B #1B0F7F #7F1B0F
tetradic
#0F7F1B #0F3B7F #7F0F73 #7F530F
square
#0F7F1B #0F3B7F #7F0F73 #7F530F
split-complementary
#0F7F1B #530F7F #7F0F3B
monochromatic
#031B06 #09480F #0F7F1B #15B627 #23E538

Accessibility & contrast

On white

5.16
#0F7F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #0F7F1B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F7F1B#FFFFFF#000000##FFFFFF
##0F7F1B1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f7f1b;
/* rgb */ color: rgb(15, 127, 27);
/* oklch */ color: oklch(52.0% 0.164 143.7);
Tailwind
colors: {
  custom: {
    50: '#67a55f',
    500: '#0f7f1b',
    950: '#000000',
  },
}
SCSS
$custom: #0f7f1b;
$custom-light: #67a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7f1b",
  "rgb": {
    "r": 15,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 126.429,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5196,
    "c": 0.16364,
    "h": 143.7
  },
  "luminance": 0.15359
}

Semantic roles & 50–950 ramp

primary
#0F7F1B
secondary
#B534A8
accent
#32E0F5
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #0F7F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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