#0F7D1A#0F7D1A

#0F7D1A is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.162 H 143.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#0F7D1A
RGBrgb(15, 125, 26)
HSLhsl(126, 79%, 27%)
HSVhsv(126, 88%, 49%)
CMYKcmyk(88%, 0%, 79.2%, 51%)
CIE-LABlab(45.42, -48.23, 42.70)
CIE-LCHlch(45.42, 64.41, 138.48°)
OKLaboklab(51.37% -0.1304 0.096)
OKLCHoklch(51.37% 0.162 143.7)
XYZxyz(7.7165, 14.8424, 3.4353)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7D1A #7D0F72
analogous
#3B7D0F #0F7D1A #0F7D51
triadic
#0F7D1A #1A0F7D #7D1A0F
tetradic
#0F7D1A #0F3B7D #7D0F72 #7D510F
square
#0F7D1A #0F3B7D #7D0F72 #7D510F
split-complementary
#0F7D1A #510F7D #7D0F3B
monochromatic
#031B06 #08460F #0F7D1A #16B425 #22E435

Accessibility & contrast

On white

5.29
#0F7D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#0F7D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F7D1A
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F7D1A#FFFFFF#000000##FFFFFF
##0F7D1A1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807003
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #0f7d1a;
/* rgb */ color: rgb(15, 125, 26);
/* oklch */ color: oklch(51.4% 0.162 143.7);
Tailwind
colors: {
  custom: {
    50: '#67a45e',
    500: '#0f7d1a',
    950: '#000000',
  },
}
SCSS
$custom: #0f7d1a;
$custom-light: #67a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7d1a",
  "rgb": {
    "r": 15,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 126,
    "s": 78.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51372,
    "c": 0.16194,
    "h": 143.7
  },
  "luminance": 0.14843
}

Semantic roles & 50–950 ramp

primary
#0F7D1A
secondary
#B434A7
accent
#33E2F5
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #0F7D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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