#0F5E26#0F5E26

#0F5E26 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.114 H 147.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#0F5E26
RGBrgb(15, 94, 38)
HSLhsl(137, 72%, 21%)
HSVhsv(137, 84%, 37%)
CMYKcmyk(84%, 0%, 59.6%, 63.1%)
CIE-LABlab(34.49, -36.09, 25.43)
CIE-LCHlch(34.49, 44.15, 144.84°)
OKLaboklab(42.32% -0.097 0.0607)
OKLCHoklch(42.32% 0.114 147.9)
XYZxyz(4.5492, 8.2464, 3.1853)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5E26 #5E0F47
analogous
#205E0F #0F5E26 #0F5E4E
triadic
#0F5E26 #260F5E #5E260F
tetradic
#0F5E26 #0F205E #5E0F47 #5E4E0F
square
#0F5E26 #0F205E #5E0F47 #5E4E0F
split-complementary
#0F5E26 #4E0F5E #5E0F20
monochromatic
#041A0B #072911 #0F5E26 #17933B #20C851

Accessibility & contrast

On white

7.93
#0F5E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#0F5E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5E26
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5E26#FFFFFF#000000##FFFFFF
##0F5E261.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5521
Deuteranopia (green-blind)
#564F2A
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5e26;
/* rgb */ color: rgb(15, 94, 38);
/* oklch */ color: oklch(42.3% 0.114 147.9);
Tailwind
colors: {
  custom: {
    50: '#5d8c62',
    500: '#0f5e26',
    950: '#000000',
  },
}
SCSS
$custom: #0f5e26;
$custom-light: #5d8c62;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5e26",
  "rgb": {
    "r": 15,
    "g": 94,
    "b": 38
  },
  "hsl": {
    "h": 137.468,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42324,
    "c": 0.11445,
    "h": 147.9
  },
  "luminance": 0.08247
}

Semantic roles & 50–950 ramp

primary
#0F5E26
secondary
#97317A
accent
#39BAEF
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F5E26

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

Preview Lab → · Contrast checker → · Palette generator →

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