#0F501F#0F501F

#0F501F is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.102 H 147.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#0F501F
RGBrgb(15, 80, 31)
HSLhsl(135, 68%, 19%)
HSVhsv(135, 81%, 31%)
CMYKcmyk(81.3%, 0%, 61.2%, 68.6%)
CIE-LABlab(29.25, -31.74, 23.00)
CIE-LCHlch(29.25, 39.19, 144.07°)
OKLaboklab(37.95% -0.0854 0.0549)
OKLCHoklch(37.95% 0.102 147.3)
XYZxyz(3.3127, 5.9374, 2.2675)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F501F #500F40
analogous
#1F500F #0F501F #0F503F
triadic
#0F501F #1F0F50 #501F0F
tetradic
#0F501F #0F1F50 #500F40 #503F0F
square
#0F501F #0F1F50 #500F40 #503F0F
split-complementary
#0F501F #3F0F50 #500F1F
monochromatic
#051A0A #051C0B #0F501F #198433 #22B747

Accessibility & contrast

On white

9.60
#0F501F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#0F501F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F501F
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F501F#FFFFFF#000000##FFFFFF
##0F501F1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51481A
Deuteranopia (green-blind)
#4A4323
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f501f;
/* rgb */ color: rgb(15, 80, 31);
/* oklch */ color: oklch(38.0% 0.102 147.3);
Tailwind
colors: {
  custom: {
    50: '#59825c',
    500: '#0f501f',
    950: '#000000',
  },
}
SCSS
$custom: #0f501f;
$custom-light: #59825c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f501f",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 134.769,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37954,
    "c": 0.10152,
    "h": 147.3
  },
  "luminance": 0.05938
}

Semantic roles & 50–950 ramp

primary
#0F501F
secondary
#8A3174
accent
#3DC0EB
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F501F

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

Preview Lab → · Contrast checker → · Palette generator →

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