#0F7F1A#0F7F1A

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

Color values

HEX#0F7F1A
RGBrgb(15, 127, 26)
HSLhsl(126, 79%, 28%)
HSVhsv(126, 88%, 50%)
CMYKcmyk(88.2%, 0%, 79.5%, 50.2%)
CIE-LABlab(46.12, -48.87, 43.38)
CIE-LCHlch(46.12, 65.34, 138.41°)
OKLaboklab(51.95% -0.1322 0.0974)
OKLCHoklch(51.95% 0.164 143.6)
XYZxyz(7.9723, 15.3539, 3.5205)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7F1A #7F0F74
analogous
#3C7F0F #0F7F1A #0F7F52
triadic
#0F7F1A #1A0F7F #7F1A0F
tetradic
#0F7F1A #0F3C7F #7F0F74 #7F520F
square
#0F7F1A #0F3C7F #7F0F74 #7F520F
split-complementary
#0F7F1A #520F7F #7F0F3C
monochromatic
#031B06 #09480F #0F7F1A #15B625 #23E536

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F7F1A#FFFFFF#000000##FFFFFF
##0F7F1A1.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)
#827202
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #0f7f1a;
/* rgb */ color: rgb(15, 127, 26);
/* oklch */ color: oklch(52.0% 0.164 143.6);
Tailwind
colors: {
  custom: {
    50: '#67a55f',
    500: '#0f7f1a',
    950: '#000000',
  },
}
SCSS
$custom: #0f7f1a;
$custom-light: #67a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7f1a",
  "rgb": {
    "r": 15,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 125.893,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51953,
    "c": 0.16419,
    "h": 143.6
  },
  "luminance": 0.15355
}

Semantic roles & 50–950 ramp

primary
#0F7F1A
secondary
#B534A9
accent
#32E2F5
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #0F7F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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