#0F5915#0F5915

#0F5915 is a dark, vivid green. Relative luminance 0.073; OKLCH L 40.6% C 0.122 H 143.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#0F5915
RGBrgb(15, 89, 21)
HSLhsl(125, 71%, 20%)
HSVhsv(125, 83%, 35%)
CMYKcmyk(83.1%, 0%, 76.4%, 65.1%)
CIE-LABlab(32.48, -36.44, 31.60)
CIE-LCHlch(32.48, 48.23, 139.08°)
OKLaboklab(40.6% -0.0986 0.0721)
OKLCHoklch(40.6% 0.122 143.8)
XYZxyz(3.9045, 7.3000, 1.9126)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5915 #590F53
analogous
#2E590F #0F5915 #0F593A
triadic
#0F5915 #150F59 #59150F
tetradic
#0F5915 #0F2E59 #590F53 #593A0F
square
#0F5915 #0F2E59 #590F53 #593A0F
split-complementary
#0F5915 #3A0F59 #590F2E
monochromatic
#041A06 #062509 #0F5915 #188D21 #21C22E

Accessibility & contrast

On white

8.54
#0F5915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#0F5915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5915
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5915#FFFFFF#000000##FFFFFF
##0F59151.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500A
Deuteranopia (green-blind)
#534A1C
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f5915;
/* rgb */ color: rgb(15, 89, 21);
/* oklch */ color: oklch(40.6% 0.122 143.8);
Tailwind
colors: {
  custom: {
    50: '#5d8957',
    500: '#0f5915',
    950: '#000000',
  },
}
SCSS
$custom: #0f5915;
$custom-light: #5d8957;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5915",
  "rgb": {
    "r": 15,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 124.865,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40597,
    "c": 0.12216,
    "h": 143.8
  },
  "luminance": 0.073
}

Semantic roles & 50–950 ramp

primary
#0F5915
secondary
#93318B
accent
#3ADFEE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0F5915

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

Preview Lab → · Contrast checker → · Palette generator →

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