#0F5D26#0F5D26

#0F5D26 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.0% C 0.113 H 148.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#0F5D26
RGBrgb(15, 93, 38)
HSLhsl(138, 72%, 21%)
HSVhsv(138, 84%, 36%)
CMYKcmyk(83.9%, 0%, 59.1%, 63.5%)
CIE-LABlab(34.13, -35.71, 24.99)
CIE-LCHlch(34.13, 43.59, 145.01°)
OKLaboklab(42.02% -0.096 0.0598)
OKLCHoklch(42.02% 0.113 148.1)
XYZxyz(4.4608, 8.0697, 3.1558)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D26 #5D0F46
analogous
#1F5D0F #0F5D26 #0F5D4D
triadic
#0F5D26 #260F5D #5D260F
tetradic
#0F5D26 #0F1F5D #5D0F46 #5D4D0F
square
#0F5D26 #0F1F5D #5D0F46 #5D4D0F
split-complementary
#0F5D26 #4D0F5D #5D0F1F
monochromatic
#041A0B #062810 #0F5D26 #17923C #20C651

Accessibility & contrast

On white

8.03
#0F5D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#0F5D26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5D26
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D26#FFFFFF#000000##FFFFFF
##0F5D261.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5421
Deuteranopia (green-blind)
#554E2A
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5d26;
/* rgb */ color: rgb(15, 93, 38);
/* oklch */ color: oklch(42.0% 0.113 148.1);
Tailwind
colors: {
  custom: {
    50: '#5d8c62',
    500: '#0f5d26',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d26;
$custom-light: #5d8c62;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d26",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 38
  },
  "hsl": {
    "h": 137.692,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42023,
    "c": 0.11307,
    "h": 148.1
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

primary
#0F5D26
secondary
#963179
accent
#39B9EF
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F5D26

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

Preview Lab → · Contrast checker → · Palette generator →

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