#0F5B34#0F5B34

#0F5B34 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.7% C 0.096 H 154.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#0F5B34
RGBrgb(15, 91, 52)
HSLhsl(149, 72%, 21%)
HSVhsv(149, 84%, 36%)
CMYKcmyk(83.5%, 0%, 42.9%, 64.3%)
CIE-LABlab(33.63, -32.27, 16.32)
CIE-LCHlch(33.63, 36.16, 153.17°)
OKLaboklab(41.68% -0.0869 0.0407)
OKLCHoklch(41.68% 0.096 154.9)
XYZxyz(4.5575, 7.8311, 4.5195)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B34 #5B0F36
analogous
#105B0F #0F5B34 #0F5B5A
triadic
#0F5B34 #340F5B #5B340F
tetradic
#0F5B34 #0F105B #5B0F36 #5B5A0F
square
#0F5B34 #0F105B #5B0F36 #5B5A0F
split-complementary
#0F5B34 #5A0F5B #5B0F10
monochromatic
#041A0F #062616 #0F5B34 #189052 #20C470

Accessibility & contrast

On white

8.18
#0F5B34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#0F5B34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5B34
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5B34#FFFFFF#000000##FFFFFF
##0F5B341.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5331
Deuteranopia (green-blind)
#524D37
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5b34;
/* rgb */ color: rgb(15, 91, 52);
/* oklch */ color: oklch(41.7% 0.096 154.9);
Tailwind
colors: {
  custom: {
    50: '#5c8a6c',
    500: '#0f5b34',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b34;
$custom-light: #5c8a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b34",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 52
  },
  "hsl": {
    "h": 149.211,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41684,
    "c": 0.09598,
    "h": 154.9
  },
  "luminance": 0.07832
}

Semantic roles & 50–950 ramp

primary
#0F5B34
secondary
#953164
accent
#3996EE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C07
muted
#797D7A

Preview Lab

Preview with #0F5B34

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

Preview Lab → · Contrast checker → · Palette generator →

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