#0F5E28#0F5E28

#0F5E28 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.113 H 148.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#0F5E28
RGBrgb(15, 94, 40)
HSLhsl(139, 72%, 21%)
HSVhsv(139, 84%, 37%)
CMYKcmyk(84%, 0%, 57.4%, 63.1%)
CIE-LABlab(34.52, -35.77, 24.37)
CIE-LCHlch(34.52, 43.28, 145.74°)
OKLaboklab(42.36% -0.0961 0.0586)
OKLCHoklch(42.36% 0.113 148.6)
XYZxyz(4.5823, 8.2596, 3.3598)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5E28 #5E0F45
analogous
#1E5E0F #0F5E28 #0F5E50
triadic
#0F5E28 #280F5E #5E280F
tetradic
#0F5E28 #0F1E5E #5E0F45 #5E500F
square
#0F5E28 #0F1E5E #5E0F45 #5E500F
split-complementary
#0F5E28 #500F5E #5E0F1E
monochromatic
#041A0B #072912 #0F5E28 #17933E #20C855

Accessibility & contrast

On white

7.92
#0F5E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#0F5E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5E28
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5E28#FFFFFF#000000##FFFFFF
##0F5E281.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5523
Deuteranopia (green-blind)
#564F2C
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5e28;
/* rgb */ color: rgb(15, 94, 40);
/* oklch */ color: oklch(42.4% 0.113 148.6);
Tailwind
colors: {
  custom: {
    50: '#5d8c63',
    500: '#0f5e28',
    950: '#000000',
  },
}
SCSS
$custom: #0f5e28;
$custom-light: #5d8c63;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5e28",
  "rgb": {
    "r": 15,
    "g": 94,
    "b": 40
  },
  "hsl": {
    "h": 138.987,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42355,
    "c": 0.11252,
    "h": 148.6
  },
  "luminance": 0.0826
}

Semantic roles & 50–950 ramp

primary
#0F5E28
secondary
#973177
accent
#39B5EF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #0F5E28

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

Preview Lab → · Contrast checker → · Palette generator →

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