#0F8D1B#0F8D1B

#0F8D1B is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.0% C 0.179 H 143.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#0F8D1B
RGBrgb(15, 141, 27)
HSLhsl(126, 81%, 31%)
HSVhsv(126, 89%, 55%)
CMYKcmyk(89.4%, 0%, 80.9%, 44.7%)
CIE-LABlab(50.95, -53.19, 47.73)
CIE-LCHlch(50.95, 71.46, 138.10°)
OKLaboklab(55.99% -0.1439 0.1066)
OKLCHoklch(55.99% 0.179 143.5)
XYZxyz(9.9190, 19.2292, 4.2255)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F8D1B #8D0F81
analogous
#428D0F #0F8D1B #0F8D5A
triadic
#0F8D1B #1B0F8D #8D1B0F
tetradic
#0F8D1B #0F428D #8D0F81 #8D5A0F
square
#0F8D1B #0F428D #8D0F81 #8D5A0F
split-complementary
#0F8D1B #5A0F8D #8D0F42
monochromatic
#031E06 #095610 #0F8D1B #15C426 #2EE93F

Accessibility & contrast

On white

4.33
#0F8D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#0F8D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #0F8D1B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F8D1B#FFFFFF#000000##000000
##0F8D1B1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #0f8d1b;
/* rgb */ color: rgb(15, 141, 27);
/* oklch */ color: oklch(56.0% 0.179 143.5);
Tailwind
colors: {
  custom: {
    50: '#6bb061',
    500: '#0f8d1b',
    950: '#000000',
  },
}
SCSS
$custom: #0f8d1b;
$custom-light: #6bb061;
$custom-dark: #000000;
JSON
{
  "hex": "#0f8d1b",
  "rgb": {
    "r": 15,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 125.714,
    "s": 80.769,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55987,
    "c": 0.1791,
    "h": 143.5
  },
  "luminance": 0.1923
}

Semantic roles & 50–950 ramp

primary
#0F8D1B
secondary
#C236B5
accent
#31E4F7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081105
muted
#7B807A

Preview Lab

Preview with #0F8D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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