#0F5B1F#0F5B1F

#0F5B1F is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.3% C 0.117 H 146.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#0F5B1F
RGBrgb(15, 91, 31)
HSLhsl(133, 72%, 21%)
HSVhsv(133, 84%, 36%)
CMYKcmyk(83.5%, 0%, 65.9%, 64.3%)
CIE-LABlab(33.31, -35.99, 27.74)
CIE-LCHlch(33.31, 45.44, 142.38°)
OKLaboklab(41.32% -0.0969 0.0651)
OKLCHoklch(41.32% 0.117 146.1)
XYZxyz(4.1851, 7.6822, 2.5583)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B1F #5B0F4B
analogous
#255B0F #0F5B1F #0F5B45
triadic
#0F5B1F #1F0F5B #5B1F0F
tetradic
#0F5B1F #0F255B #5B0F4B #5B450F
square
#0F5B1F #0F255B #5B0F4B #5B450F
split-complementary
#0F5B1F #450F5B #5B0F25
monochromatic
#041A09 #06260D #0F5B1F #189031 #20C443

Accessibility & contrast

On white

8.28
#0F5B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#0F5B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5B1F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5B1F#FFFFFF#000000##FFFFFF
##0F5B1F1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5218
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5b1f;
/* rgb */ color: rgb(15, 91, 31);
/* oklch */ color: oklch(41.3% 0.117 146.1);
Tailwind
colors: {
  custom: {
    50: '#5d8a5d',
    500: '#0f5b1f',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b1f;
$custom-light: #5d8a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b1f",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 31
  },
  "hsl": {
    "h": 132.632,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41318,
    "c": 0.11678,
    "h": 146.1
  },
  "luminance": 0.07683
}

Semantic roles & 50–950 ramp

primary
#0F5B1F
secondary
#953180
accent
#39C8EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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