#0F5E2D#0F5E2D

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

Color values

HEX#0F5E2D
RGBrgb(15, 94, 45)
HSLhsl(143, 72%, 21%)
HSVhsv(143, 84%, 37%)
CMYKcmyk(84%, 0%, 52.1%, 63.1%)
CIE-LABlab(34.59, -34.90, 21.66)
CIE-LCHlch(34.59, 41.07, 148.18°)
OKLaboklab(42.44% -0.0937 0.0528)
OKLCHoklch(42.44% 0.108 150.6)
XYZxyz(4.6730, 8.2959, 3.8371)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5E2D #5E0F40
analogous
#195E0F #0F5E2D #0F5E55
triadic
#0F5E2D #2D0F5E #5E2D0F
tetradic
#0F5E2D #0F195E #5E0F40 #5E550F
square
#0F5E2D #0F195E #5E0F40 #5E550F
split-complementary
#0F5E2D #550F5E #5E0F19
monochromatic
#041A0D #072914 #0F5E2D #179346 #20C860

Accessibility & contrast

On white

7.90
#0F5E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5E2D
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5E2D#FFFFFF#000000##FFFFFF
##0F5E2D1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5e2d;
/* rgb */ color: rgb(15, 94, 45);
/* oklch */ color: oklch(42.4% 0.108 150.6);
Tailwind
colors: {
  custom: {
    50: '#5d8c67',
    500: '#0f5e2d',
    950: '#000000',
  },
}
SCSS
$custom: #0f5e2d;
$custom-light: #5d8c67;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5e2d",
  "rgb": {
    "r": 15,
    "g": 94,
    "b": 45
  },
  "hsl": {
    "h": 142.785,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4244,
    "c": 0.10755,
    "h": 150.6
  },
  "luminance": 0.08296
}

Semantic roles & 50–950 ramp

primary
#0F5E2D
secondary
#973171
accent
#39AAEF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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