#0F501B#0F501B

#0F501B is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.105 H 145.9°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#0F501B
RGBrgb(15, 80, 27)
HSLhsl(131, 68%, 19%)
HSVhsv(131, 81%, 31%)
CMYKcmyk(81.3%, 0%, 66.3%, 68.6%)
CIE-LABlab(29.20, -32.33, 25.11)
CIE-LCHlch(29.20, 40.94, 142.17°)
OKLaboklab(37.9% -0.0872 0.0591)
OKLCHoklch(37.9% 0.105 145.9)
XYZxyz(3.2633, 5.9176, 2.0069)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F501B #500F44
analogous
#23500F #0F501B #0F503B
triadic
#0F501B #1B0F50 #501B0F
tetradic
#0F501B #0F2350 #500F44 #503B0F
square
#0F501B #0F2350 #500F44 #503B0F
split-complementary
#0F501B #3B0F50 #500F23
monochromatic
#051A09 #051C0A #0F501B #19842C #22B73E

Accessibility & contrast

On white

9.62
#0F501B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#0F501B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F501B
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F501B#FFFFFF#000000##FFFFFF
##0F501B1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514815
Deuteranopia (green-blind)
#4A431F
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f501b;
/* rgb */ color: rgb(15, 80, 27);
/* oklch */ color: oklch(37.9% 0.105 145.9);
Tailwind
colors: {
  custom: {
    50: '#5a8259',
    500: '#0f501b',
    950: '#000000',
  },
}
SCSS
$custom: #0f501b;
$custom-light: #5a8259;
$custom-dark: #000000;
JSON
{
  "hex": "#0f501b",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 27
  },
  "hsl": {
    "h": 131.077,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37896,
    "c": 0.10531,
    "h": 145.9
  },
  "luminance": 0.05918
}

Semantic roles & 50–950 ramp

primary
#0F501B
secondary
#8A317A
accent
#3DCBEB
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F501B

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

Preview Lab → · Contrast checker → · Palette generator →

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