#0F5B28#0F5B28

#0F5B28 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.108 H 149.1°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#0F5B28
RGBrgb(15, 91, 40)
HSLhsl(140, 72%, 21%)
HSVhsv(140, 84%, 36%)
CMYKcmyk(83.5%, 0%, 56%, 64.3%)
CIE-LABlab(33.43, -34.60, 23.04)
CIE-LCHlch(33.43, 41.57, 146.35°)
OKLaboklab(41.45% -0.093 0.0556)
OKLCHoklch(41.45% 0.108 149.1)
XYZxyz(4.3207, 7.7364, 3.2726)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B28 #5B0F42
analogous
#1C5B0F #0F5B28 #0F5B4E
triadic
#0F5B28 #280F5B #5B280F
tetradic
#0F5B28 #0F1C5B #5B0F42 #5B4E0F
square
#0F5B28 #0F1C5B #5B0F42 #5B4E0F
split-complementary
#0F5B28 #4E0F5B #5B0F1C
monochromatic
#041A0C #062611 #0F5B28 #18903F #20C456

Accessibility & contrast

On white

8.24
#0F5B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#0F5B28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5B28
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5B28#FFFFFF#000000##FFFFFF
##0F5B281.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5224
Deuteranopia (green-blind)
#534C2C
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5b28;
/* rgb */ color: rgb(15, 91, 40);
/* oklch */ color: oklch(41.5% 0.108 149.1);
Tailwind
colors: {
  custom: {
    50: '#5c8a63',
    500: '#0f5b28',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b28;
$custom-light: #5c8a63;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b28",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 40
  },
  "hsl": {
    "h": 139.737,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41452,
    "c": 0.10831,
    "h": 149.1
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

primary
#0F5B28
secondary
#953174
accent
#39B3EE
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F5B28

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

Preview Lab → · Contrast checker → · Palette generator →

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