#0F5813#0F5813

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

Color values

HEX#0F5813
RGBrgb(15, 88, 19)
HSLhsl(123, 71%, 20%)
HSVhsv(123, 83%, 35%)
CMYKcmyk(83%, 0%, 78.4%, 65.5%)
CIE-LABlab(32.10, -36.28, 32.06)
CIE-LCHlch(32.10, 48.41, 138.53°)
OKLaboklab(40.27% -0.0983 0.0728)
OKLCHoklch(40.27% 0.122 143.5)
XYZxyz(3.8040, 7.1276, 1.7912)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5813 #580F54
analogous
#2F580F #0F5813 #0F5838
triadic
#0F5813 #130F58 #58130F
tetradic
#0F5813 #0F2F58 #580F54 #58380F
square
#0F5813 #0F2F58 #580F54 #58380F
split-complementary
#0F5813 #380F58 #580F2F
monochromatic
#041A06 #062408 #0F5813 #188C1E #21C12A

Accessibility & contrast

On white

8.66
#0F5813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5813
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5813#FFFFFF#000000##FFFFFF
##0F58131.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F07
Deuteranopia (green-blind)
#52491A
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f5813;
/* rgb */ color: rgb(15, 88, 19);
/* oklch */ color: oklch(40.3% 0.122 143.5);
Tailwind
colors: {
  custom: {
    50: '#5c8856',
    500: '#0f5813',
    950: '#000000',
  },
}
SCSS
$custom: #0f5813;
$custom-light: #5c8856;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5813",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 123.288,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40272,
    "c": 0.12228,
    "h": 143.5
  },
  "luminance": 0.07128
}

Semantic roles & 50–950 ramp

primary
#0F5813
secondary
#92318C
accent
#3AE4EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0F5813

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

Preview Lab → · Contrast checker → · Palette generator →

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