#0F7E1A#0F7E1A

#0F7E1A is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.163 H 143.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#0F7E1A
RGBrgb(15, 126, 26)
HSLhsl(126, 79%, 28%)
HSVhsv(126, 88%, 49%)
CMYKcmyk(88.1%, 0%, 79.4%, 50.6%)
CIE-LABlab(45.77, -48.55, 43.04)
CIE-LCHlch(45.77, 64.88, 138.44°)
OKLaboklab(51.66% -0.1313 0.0967)
OKLCHoklch(51.66% 0.163 143.6)
XYZxyz(7.8438, 15.0969, 3.4777)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7E1A #7E0F73
analogous
#3B7E0F #0F7E1A #0F7E51
triadic
#0F7E1A #1A0F7E #7E1A0F
tetradic
#0F7E1A #0F3B7E #7E0F73 #7E510F
square
#0F7E1A #0F3B7E #7E0F73 #7E510F
split-complementary
#0F7E1A #510F7E #7E0F3B
monochromatic
#031B06 #08470F #0F7E1A #16B525 #23E536

Accessibility & contrast

On white

5.22
#0F7E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#0F7E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F7E1A
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F7E1A#FFFFFF#000000##FFFFFF
##0F7E1A1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817103
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #0f7e1a;
/* rgb */ color: rgb(15, 126, 26);
/* oklch */ color: oklch(51.7% 0.163 143.6);
Tailwind
colors: {
  custom: {
    50: '#67a55f',
    500: '#0f7e1a',
    950: '#000000',
  },
}
SCSS
$custom: #0f7e1a;
$custom-light: #67a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7e1a",
  "rgb": {
    "r": 15,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 125.946,
    "s": 78.723,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51663,
    "c": 0.16307,
    "h": 143.6
  },
  "luminance": 0.15098
}

Semantic roles & 50–950 ramp

primary
#0F7E1A
secondary
#B534A8
accent
#33E2F5
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #0F7E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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