#0F7F1C#0F7F1C

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

Color values

HEX#0F7F1C
RGBrgb(15, 127, 28)
HSLhsl(127, 79%, 28%)
HSVhsv(127, 88%, 50%)
CMYKcmyk(88.2%, 0%, 78%, 50.2%)
CIE-LABlab(46.13, -48.71, 42.67)
CIE-LCHlch(46.13, 64.76, 138.78°)
OKLaboklab(51.97% -0.1317 0.0962)
OKLCHoklch(51.97% 0.163 143.8)
XYZxyz(7.9954, 15.3631, 3.6424)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7F1C #7F0F72
analogous
#3A7F0F #0F7F1C #0F7F54
triadic
#0F7F1C #1C0F7F #7F1C0F
tetradic
#0F7F1C #0F3A7F #7F0F72 #7F540F
square
#0F7F1C #0F3A7F #7F0F72 #7F540F
split-complementary
#0F7F1C #540F7F #7F0F3A
monochromatic
#031B06 #094810 #0F7F1C #15B628 #23E53A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F7F1C#FFFFFF#000000##FFFFFF
##0F7F1C1.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)
#827207
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #0f7f1c;
/* rgb */ color: rgb(15, 127, 28);
/* oklch */ color: oklch(52.0% 0.163 143.8);
Tailwind
colors: {
  custom: {
    50: '#67a560',
    500: '#0f7f1c',
    950: '#000000',
  },
}
SCSS
$custom: #0f7f1c;
$custom-light: #67a560;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7f1c",
  "rgb": {
    "r": 15,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 126.964,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51968,
    "c": 0.16307,
    "h": 143.8
  },
  "luminance": 0.15364
}

Semantic roles & 50–950 ramp

primary
#0F7F1C
secondary
#B534A6
accent
#32DFF5
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #0F7F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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