#0F5E2F#0F5E2F

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

Color values

HEX#0F5E2F
RGBrgb(15, 94, 47)
HSLhsl(144, 72%, 21%)
HSVhsv(144, 84%, 37%)
CMYKcmyk(84%, 0%, 50%, 63.1%)
CIE-LABlab(34.62, -34.52, 20.55)
CIE-LCHlch(34.62, 40.17, 149.24°)
OKLaboklab(42.48% -0.0927 0.0503)
OKLCHoklch(42.48% 0.106 151.5)
XYZxyz(4.7124, 8.3116, 4.0447)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5E2F #5E0F3E
analogous
#175E0F #0F5E2F #0F5E57
triadic
#0F5E2F #2F0F5E #5E2F0F
tetradic
#0F5E2F #0F175E #5E0F3E #5E570F
square
#0F5E2F #0F175E #5E0F3E #5E570F
split-complementary
#0F5E2F #570F5E #5E0F17
monochromatic
#041A0D #072915 #0F5E2F #179349 #20C864

Accessibility & contrast

On white

7.89
#0F5E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5E2F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5E2F#FFFFFF#000000##FFFFFF
##0F5E2F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552B
Deuteranopia (green-blind)
#554F32
Tritanopia (blue-blind)
#005C53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5e2f;
/* rgb */ color: rgb(15, 94, 47);
/* oklch */ color: oklch(42.5% 0.106 151.5);
Tailwind
colors: {
  custom: {
    50: '#5d8c68',
    500: '#0f5e2f',
    950: '#000000',
  },
}
SCSS
$custom: #0f5e2f;
$custom-light: #5d8c68;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5e2f",
  "rgb": {
    "r": 15,
    "g": 94,
    "b": 47
  },
  "hsl": {
    "h": 144.304,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42477,
    "c": 0.10551,
    "h": 151.5
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#0F5E2F
secondary
#97316E
accent
#39A5EF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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