#0F7018#0F7018

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

Color values

HEX#0F7018
RGBrgb(15, 112, 24)
HSLhsl(126, 76%, 25%)
HSVhsv(126, 87%, 44%)
CMYKcmyk(86.6%, 0%, 78.6%, 56.1%)
CIE-LABlab(40.82, -44.14, 38.88)
CIE-LCHlch(40.82, 58.82, 138.63°)
OKLaboklab(47.54% -0.1194 0.0877)
OKLCHoklch(47.54% 0.148 143.7)
XYZxyz(6.1556, 11.7551, 2.8085)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7018 #700F67
analogous
#37700F #0F7018 #0F7049
triadic
#0F7018 #180F70 #70180F
tetradic
#0F7018 #0F3770 #700F67 #70490F
square
#0F7018 #0F3770 #700F67 #70490F
split-complementary
#0F7018 #490F70 #700F37
monochromatic
#041B06 #083A0C #0F7018 #16A624 #1DDC2F

Accessibility & contrast

On white

6.27
#0F7018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#0F7018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F7018
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F7018#FFFFFF#000000##FFFFFF
##0F70181.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726506
Deuteranopia (green-blind)
#685E22
Tritanopia (blue-blind)
#006D5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #0f7018;
/* rgb */ color: rgb(15, 112, 24);
/* oklch */ color: oklch(47.5% 0.148 143.7);
Tailwind
colors: {
  custom: {
    50: '#639a5c',
    500: '#0f7018',
    950: '#000000',
  },
}
SCSS
$custom: #0f7018;
$custom-light: #639a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7018",
  "rgb": {
    "r": 15,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 125.567,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47544,
    "c": 0.14816,
    "h": 143.7
  },
  "luminance": 0.11756
}

Semantic roles & 50–950 ramp

primary
#0F7018
secondary
#A8339D
accent
#35E1F3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #0F7018

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

Preview Lab → · Contrast checker → · Palette generator →

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