#0F7D18#0F7D18

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

Color values

HEX#0F7D18
RGBrgb(15, 125, 24)
HSLhsl(125, 79%, 27%)
HSVhsv(125, 88%, 49%)
CMYKcmyk(88%, 0%, 80.8%, 51%)
CIE-LABlab(45.41, -48.38, 43.38)
CIE-LCHlch(45.41, 64.98, 138.12°)
OKLaboklab(51.36% -0.1309 0.0971)
OKLCHoklch(51.36% 0.163 143.4)
XYZxyz(7.6950, 14.8338, 3.3216)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7D18 #7D0F74
analogous
#3D7D0F #0F7D18 #0F7D4F
triadic
#0F7D18 #180F7D #7D180F
tetradic
#0F7D18 #0F3D7D #7D0F74 #7D4F0F
square
#0F7D18 #0F3D7D #7D0F74 #7D4F0F
split-complementary
#0F7D18 #4F0F7D #7D0F3D
monochromatic
#031B05 #08460E #0F7D18 #16B422 #22E432

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F7D18#FFFFFF#000000##FFFFFF
##0F7D181.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)
#807000
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #0f7d18;
/* rgb */ color: rgb(15, 125, 24);
/* oklch */ color: oklch(51.4% 0.163 143.4);
Tailwind
colors: {
  custom: {
    50: '#67a45e',
    500: '#0f7d18',
    950: '#000000',
  },
}
SCSS
$custom: #0f7d18;
$custom-light: #67a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7d18",
  "rgb": {
    "r": 15,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 124.909,
    "s": 78.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51359,
    "c": 0.16301,
    "h": 143.4
  },
  "luminance": 0.14835
}

Semantic roles & 50–950 ramp

primary
#0F7D18
secondary
#B434A9
accent
#33E5F5
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #0F7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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