#0F8E1B#0F8E1B

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

Color values

HEX#0F8E1B
RGBrgb(15, 142, 27)
HSLhsl(126, 81%, 31%)
HSVhsv(126, 89%, 56%)
CMYKcmyk(89.4%, 0%, 81%, 44.3%)
CIE-LABlab(51.30, -53.50, 48.05)
CIE-LCHlch(51.30, 71.91, 138.07°)
OKLaboklab(56.27% -0.1448 0.1073)
OKLCHoklch(56.27% 0.18 143.5)
XYZxyz(10.0671, 19.5254, 4.2749)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F8E1B #8E0F82
analogous
#428E0F #0F8E1B #0F8E5A
triadic
#0F8E1B #1B0F8E #8E1B0F
tetradic
#0F8E1B #0F428E #8E0F82 #8E5A0F
square
#0F8E1B #0F428E #8E0F82 #8E5A0F
split-complementary
#0F8E1B #5A0F8E #8E0F42
monochromatic
#031F06 #095710 #0F8E1B #15C526 #2EE940

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F8E1B#FFFFFF#000000##000000
##0F8E1B1.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)
#847729
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #0f8e1b;
/* rgb */ color: rgb(15, 142, 27);
/* oklch */ color: oklch(56.3% 0.180 143.5);
Tailwind
colors: {
  custom: {
    50: '#6cb061',
    500: '#0f8e1b',
    950: '#000000',
  },
}
SCSS
$custom: #0f8e1b;
$custom-light: #6cb061;
$custom-dark: #000000;
JSON
{
  "hex": "#0f8e1b",
  "rgb": {
    "r": 15,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 125.669,
    "s": 80.892,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56272,
    "c": 0.18018,
    "h": 143.5
  },
  "luminance": 0.19527
}

Semantic roles & 50–950 ramp

primary
#0F8E1B
secondary
#C336B6
accent
#31E5F7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #0F8E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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