#0F8E1C#0F8E1C

#0F8E1C is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.180 H 143.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#0F8E1C
RGBrgb(15, 142, 28)
HSLhsl(126, 81%, 31%)
HSVhsv(126, 89%, 56%)
CMYKcmyk(89.4%, 0%, 80.3%, 44.3%)
CIE-LABlab(51.30, -53.43, 47.73)
CIE-LCHlch(51.30, 71.65, 138.22°)
OKLaboklab(56.28% -0.1445 0.1068)
OKLCHoklch(56.28% 0.18 143.6)
XYZxyz(10.0789, 19.5301, 4.3369)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F8E1C #8E0F81
analogous
#418E0F #0F8E1C #0F8E5B
triadic
#0F8E1C #1C0F8E #8E1C0F
tetradic
#0F8E1C #0F418E #8E0F81 #8E5B0F
square
#0F8E1C #0F418E #8E0F81 #8E5B0F
split-complementary
#0F8E1C #5B0F8E #8E0F41
monochromatic
#031F06 #095711 #0F8E1C #15C527 #2EE942

Accessibility & contrast

On white

4.28
#0F8E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#0F8E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #0F8E1C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F8E1C#FFFFFF#000000##000000
##0F8E1C1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#84772A
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #0f8e1c;
/* rgb */ color: rgb(15, 142, 28);
/* oklch */ color: oklch(56.3% 0.180 143.6);
Tailwind
colors: {
  custom: {
    50: '#6cb062',
    500: '#0f8e1c',
    950: '#000000',
  },
}
SCSS
$custom: #0f8e1c;
$custom-light: #6cb062;
$custom-dark: #000000;
JSON
{
  "hex": "#0f8e1c",
  "rgb": {
    "r": 15,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 126.142,
    "s": 80.892,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56278,
    "c": 0.17969,
    "h": 143.6
  },
  "luminance": 0.19531
}

Semantic roles & 50–950 ramp

primary
#0F8E1C
secondary
#C336B4
accent
#31E3F7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #0F8E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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