#0F5B15#0F5B15

#0F5B15 is a dark, vivid green. Relative luminance 0.076; OKLCH L 41.2% C 0.125 H 143.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#0F5B15
RGBrgb(15, 91, 21)
HSLhsl(125, 72%, 21%)
HSVhsv(125, 84%, 36%)
CMYKcmyk(83.5%, 0%, 76.9%, 64.3%)
CIE-LABlab(33.22, -37.17, 32.36)
CIE-LCHlch(33.22, 49.28, 138.95°)
OKLaboklab(41.21% -0.1006 0.0737)
OKLCHoklch(41.21% 0.125 143.8)
XYZxyz(4.0732, 7.6374, 1.9688)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B15 #5B0F55
analogous
#2F5B0F #0F5B15 #0F5B3B
triadic
#0F5B15 #150F5B #5B150F
tetradic
#0F5B15 #0F2F5B #5B0F55 #5B3B0F
square
#0F5B15 #0F2F5B #5B0F55 #5B3B0F
split-complementary
#0F5B15 #3B0F5B #5B0F2F
monochromatic
#041A06 #062609 #0F5B15 #189021 #20C42D

Accessibility & contrast

On white

8.31
#0F5B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#0F5B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5B15
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5B15#FFFFFF#000000##FFFFFF
##0F5B151.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5209
Deuteranopia (green-blind)
#554C1C
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5b15;
/* rgb */ color: rgb(15, 91, 21);
/* oklch */ color: oklch(41.2% 0.125 143.8);
Tailwind
colors: {
  custom: {
    50: '#5d8a57',
    500: '#0f5b15',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b15;
$custom-light: #5d8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b15",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 21
  },
  "hsl": {
    "h": 124.737,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41208,
    "c": 0.12469,
    "h": 143.8
  },
  "luminance": 0.07638
}

Semantic roles & 50–950 ramp

primary
#0F5B15
secondary
#95318D
accent
#39E0EE
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0F5B15

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

Preview Lab → · Contrast checker → · Palette generator →

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