#0F5828#0F5828

#0F5828 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.104 H 149.7°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#0F5828
RGBrgb(15, 88, 40)
HSLhsl(141, 71%, 20%)
HSVhsv(141, 83%, 35%)
CMYKcmyk(83%, 0%, 54.5%, 65.5%)
CIE-LABlab(32.33, -33.41, 21.68)
CIE-LCHlch(32.33, 39.83, 147.02°)
OKLaboklab(40.54% -0.0898 0.0526)
OKLCHoklch(40.54% 0.104 149.7)
XYZxyz(4.0694, 7.2337, 3.1889)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5828 #580F3F
analogous
#1A580F #0F5828 #0F584C
triadic
#0F5828 #280F58 #58280F
tetradic
#0F5828 #0F1A58 #580F3F #584C0F
square
#0F5828 #0F1A58 #580F3F #584C0F
split-complementary
#0F5828 #4C0F58 #580F1A
monochromatic
#041A0C #062410 #0F5828 #188C40 #21C158

Accessibility & contrast

On white

8.58
#0F5828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#0F5828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5828
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5828#FFFFFF#000000##FFFFFF
##0F58281.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595024
Deuteranopia (green-blind)
#504A2C
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f5828;
/* rgb */ color: rgb(15, 88, 40);
/* oklch */ color: oklch(40.5% 0.104 149.7);
Tailwind
colors: {
  custom: {
    50: '#5b8863',
    500: '#0f5828',
    950: '#000000',
  },
}
SCSS
$custom: #0f5828;
$custom-light: #5b8863;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5828",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 40
  },
  "hsl": {
    "h": 140.548,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40545,
    "c": 0.10403,
    "h": 149.7
  },
  "luminance": 0.07234
}

Semantic roles & 50–950 ramp

primary
#0F5828
secondary
#923171
accent
#3AB0EE
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0F5828

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

Preview Lab → · Contrast checker → · Palette generator →

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