#0F7118#0F7118

#0F7118 is a mid, vivid green. Relative luminance 0.120; OKLCH L 47.8% C 0.149 H 143.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#0F7118
RGBrgb(15, 113, 24)
HSLhsl(126, 77%, 25%)
HSVhsv(126, 87%, 44%)
CMYKcmyk(86.7%, 0%, 78.8%, 55.7%)
CIE-LABlab(41.18, -44.47, 39.23)
CIE-LCHlch(41.18, 59.30, 138.58°)
OKLaboklab(47.84% -0.1203 0.0885)
OKLCHoklch(47.84% 0.149 143.7)
XYZxyz(6.2666, 11.9770, 2.8455)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7118 #710F68
analogous
#37710F #0F7118 #0F7149
triadic
#0F7118 #180F71 #71180F
tetradic
#0F7118 #0F3771 #710F68 #71490F
square
#0F7118 #0F3771 #710F68 #71490F
split-complementary
#0F7118 #490F71 #710F37
monochromatic
#041B06 #083B0D #0F7118 #16A723 #1DDD2F

Accessibility & contrast

On white

6.18
#0F7118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#0F7118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F7118
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F7118#FFFFFF#000000##FFFFFF
##0F71181.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736505
Deuteranopia (green-blind)
#695E22
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #0f7118;
/* rgb */ color: rgb(15, 113, 24);
/* oklch */ color: oklch(47.8% 0.149 143.7);
Tailwind
colors: {
  custom: {
    50: '#639b5c',
    500: '#0f7118',
    950: '#000000',
  },
}
SCSS
$custom: #0f7118;
$custom-light: #639b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7118",
  "rgb": {
    "r": 15,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 125.51,
    "s": 76.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47839,
    "c": 0.14933,
    "h": 143.7
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

primary
#0F7118
secondary
#A9339E
accent
#35E2F3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #0F7118

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

Preview Lab → · Contrast checker → · Palette generator →

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