#0F5820#0F5820

#0F5820 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.4% C 0.112 H 146.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#0F5820
RGBrgb(15, 88, 32)
HSLhsl(134, 71%, 20%)
HSVhsv(134, 83%, 35%)
CMYKcmyk(83%, 0%, 63.6%, 65.5%)
CIE-LABlab(32.22, -34.71, 25.96)
CIE-LCHlch(32.22, 43.35, 143.21°)
OKLaboklab(40.42% -0.0934 0.0614)
OKLCHoklch(40.42% 0.112 146.7)
XYZxyz(3.9471, 7.1848, 2.5450)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5820 #580F47
analogous
#22580F #0F5820 #0F5845
triadic
#0F5820 #200F58 #58200F
tetradic
#0F5820 #0F2258 #580F47 #58450F
square
#0F5820 #0F2258 #580F47 #58450F
split-complementary
#0F5820 #450F58 #580F22
monochromatic
#041A0A #06240D #0F5820 #188C33 #21C146

Accessibility & contrast

On white

8.62
#0F5820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#0F5820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5820
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5820#FFFFFF#000000##FFFFFF
##0F58201.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F1A
Deuteranopia (green-blind)
#514A25
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f5820;
/* rgb */ color: rgb(15, 88, 32);
/* oklch */ color: oklch(40.4% 0.112 146.7);
Tailwind
colors: {
  custom: {
    50: '#5c885d',
    500: '#0f5820',
    950: '#000000',
  },
}
SCSS
$custom: #0f5820;
$custom-light: #5c885d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5820",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 32
  },
  "hsl": {
    "h": 133.973,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.4042,
    "c": 0.11181,
    "h": 146.7
  },
  "luminance": 0.07185
}

Semantic roles & 50–950 ramp

primary
#0F5820
secondary
#92317B
accent
#3AC4EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #0F5820

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

Preview Lab → · Contrast checker → · Palette generator →

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