#0F5815#0F5815

#0F5815 is a dark, vivid green. Relative luminance 0.071; OKLCH L 40.3% C 0.121 H 143.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#0F5815
RGBrgb(15, 88, 21)
HSLhsl(125, 71%, 20%)
HSVhsv(125, 83%, 35%)
CMYKcmyk(83%, 0%, 76.1%, 65.5%)
CIE-LABlab(32.11, -36.08, 31.21)
CIE-LCHlch(32.11, 47.71, 139.14°)
OKLaboklab(40.29% -0.0976 0.0713)
OKLCHoklch(40.29% 0.121 143.9)
XYZxyz(3.8218, 7.1347, 1.8850)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5815 #580F52
analogous
#2D580F #0F5815 #0F583A
triadic
#0F5815 #150F58 #58150F
tetradic
#0F5815 #0F2D58 #580F52 #583A0F
square
#0F5815 #0F2D58 #580F52 #583A0F
split-complementary
#0F5815 #3A0F58 #580F2D
monochromatic
#041A06 #062409 #0F5815 #188C21 #21C12E

Accessibility & contrast

On white

8.65
#0F5815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#0F5815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5815
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5815#FFFFFF#000000##FFFFFF
##0F58151.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0A
Deuteranopia (green-blind)
#52491C
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f5815;
/* rgb */ color: rgb(15, 88, 21);
/* oklch */ color: oklch(40.3% 0.121 143.9);
Tailwind
colors: {
  custom: {
    50: '#5c8857',
    500: '#0f5815',
    950: '#000000',
  },
}
SCSS
$custom: #0f5815;
$custom-light: #5c8857;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5815",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 21
  },
  "hsl": {
    "h": 124.932,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.4029,
    "c": 0.12088,
    "h": 143.9
  },
  "luminance": 0.07135
}

Semantic roles & 50–950 ramp

primary
#0F5815
secondary
#92318A
accent
#3ADFEE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0F5815

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

Preview Lab → · Contrast checker → · Palette generator →

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