#0F5E2B#0F5E2B

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

Color values

HEX#0F5E2B
RGBrgb(15, 94, 43)
HSLhsl(141, 72%, 21%)
HSVhsv(141, 84%, 37%)
CMYKcmyk(84%, 0%, 54.3%, 63.1%)
CIE-LABlab(34.56, -35.26, 22.75)
CIE-LCHlch(34.56, 41.96, 147.17°)
OKLaboklab(42.41% -0.0947 0.0551)
OKLCHoklch(42.41% 0.11 149.8)
XYZxyz(4.6354, 8.2808, 3.6391)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5E2B #5E0F42
analogous
#1B5E0F #0F5E2B #0F5E53
triadic
#0F5E2B #2B0F5E #5E2B0F
tetradic
#0F5E2B #0F1B5E #5E0F42 #5E530F
square
#0F5E2B #0F1B5E #5E0F42 #5E530F
split-complementary
#0F5E2B #530F5E #5E0F1B
monochromatic
#041A0C #072913 #0F5E2B #179343 #20C85B

Accessibility & contrast

On white

7.91
#0F5E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#0F5E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5E2B
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5E2B#FFFFFF#000000##FFFFFF
##0F5E2B1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5e2b;
/* rgb */ color: rgb(15, 94, 43);
/* oklch */ color: oklch(42.4% 0.110 149.8);
Tailwind
colors: {
  custom: {
    50: '#5d8c65',
    500: '#0f5e2b',
    950: '#000000',
  },
}
SCSS
$custom: #0f5e2b;
$custom-light: #5d8c65;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5e2b",
  "rgb": {
    "r": 15,
    "g": 94,
    "b": 43
  },
  "hsl": {
    "h": 141.266,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42405,
    "c": 0.10956,
    "h": 149.8
  },
  "luminance": 0.08281
}

Semantic roles & 50–950 ramp

primary
#0F5E2B
secondary
#973173
accent
#39AEEF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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