#0F5E31#0F5E31

#0F5E31 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.5% C 0.103 H 152.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#0F5E31
RGBrgb(15, 94, 49)
HSLhsl(146, 72%, 21%)
HSVhsv(146, 84%, 37%)
CMYKcmyk(84%, 0%, 47.9%, 63.1%)
CIE-LABlab(34.66, -34.13, 19.43)
CIE-LCHlch(34.66, 39.27, 150.34°)
OKLaboklab(42.52% -0.0917 0.0478)
OKLCHoklch(42.52% 0.103 152.5)
XYZxyz(4.7537, 8.3281, 4.2621)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5E31 #5E0F3C
analogous
#155E0F #0F5E31 #0F5E59
triadic
#0F5E31 #310F5E #5E310F
tetradic
#0F5E31 #0F155E #5E0F3C #5E590F
square
#0F5E31 #0F155E #5E0F3C #5E590F
split-complementary
#0F5E31 #590F5E #5E0F15
monochromatic
#041A0E #072915 #0F5E31 #17934D #20C868

Accessibility & contrast

On white

7.88
#0F5E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#0F5E31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5E31
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5E31#FFFFFF#000000##FFFFFF
##0F5E311.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552E
Deuteranopia (green-blind)
#554F34
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5e31;
/* rgb */ color: rgb(15, 94, 49);
/* oklch */ color: oklch(42.5% 0.103 152.5);
Tailwind
colors: {
  custom: {
    50: '#5d8c6a',
    500: '#0f5e31',
    950: '#000000',
  },
}
SCSS
$custom: #0f5e31;
$custom-light: #5d8c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5e31",
  "rgb": {
    "r": 15,
    "g": 94,
    "b": 49
  },
  "hsl": {
    "h": 145.823,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42516,
    "c": 0.10346,
    "h": 152.5
  },
  "luminance": 0.08329
}

Semantic roles & 50–950 ramp

primary
#0F5E31
secondary
#97316B
accent
#39A1EF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5E31

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

Preview Lab → · Contrast checker → · Palette generator →

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