#0F501C#0F501C

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

Color values

HEX#0F501C
RGBrgb(15, 80, 28)
HSLhsl(132, 68%, 19%)
HSVhsv(132, 81%, 31%)
CMYKcmyk(81.3%, 0%, 65%, 68.6%)
CIE-LABlab(29.22, -32.19, 24.59)
CIE-LCHlch(29.22, 40.51, 142.63°)
OKLaboklab(37.91% -0.0867 0.0581)
OKLCHoklch(37.91% 0.104 146.2)
XYZxyz(3.2750, 5.9223, 2.0689)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F501C #500F43
analogous
#22500F #0F501C #0F503C
triadic
#0F501C #1C0F50 #501C0F
tetradic
#0F501C #0F2250 #500F43 #503C0F
square
#0F501C #0F2250 #500F43 #503C0F
split-complementary
#0F501C #3C0F50 #500F22
monochromatic
#051A09 #051C0A #0F501C #19842E #22B740

Accessibility & contrast

On white

9.61
#0F501C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F501C
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F501C#FFFFFF#000000##FFFFFF
##0F501C1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f501c;
/* rgb */ color: rgb(15, 80, 28);
/* oklch */ color: oklch(37.9% 0.104 146.2);
Tailwind
colors: {
  custom: {
    50: '#5a825a',
    500: '#0f501c',
    950: '#000000',
  },
}
SCSS
$custom: #0f501c;
$custom-light: #5a825a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f501c",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 28
  },
  "hsl": {
    "h": 132,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3791,
    "c": 0.10438,
    "h": 146.2
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#0F501C
secondary
#8A3178
accent
#3DC8EB
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F501C

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

Preview Lab → · Contrast checker → · Palette generator →

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