#0F5726#0F5726

#0F5726 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.2% C 0.105 H 149.0°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#0F5726
RGBrgb(15, 87, 38)
HSLhsl(139, 71%, 20%)
HSVhsv(139, 83%, 34%)
CMYKcmyk(82.8%, 0%, 56.3%, 65.9%)
CIE-LABlab(31.94, -33.37, 22.33)
CIE-LCHlch(31.94, 40.15, 146.21°)
OKLaboklab(40.21% -0.0897 0.0539)
OKLCHoklch(40.21% 0.105 149)
XYZxyz(3.9547, 7.0574, 2.9871)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5726 #570F40
analogous
#1C570F #0F5726 #0F574A
triadic
#0F5726 #260F57 #57260F
tetradic
#0F5726 #0F1C57 #570F40 #574A0F
square
#0F5726 #0F1C57 #570F40 #574A0F
split-complementary
#0F5726 #4A0F57 #570F1C
monochromatic
#051A0B #06230F #0F5726 #188B3D #21BF54

Accessibility & contrast

On white

8.71
#0F5726 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#0F5726 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5726
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5726#FFFFFF#000000##FFFFFF
##0F57261.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F22
Deuteranopia (green-blind)
#50492A
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f5726;
/* rgb */ color: rgb(15, 87, 38);
/* oklch */ color: oklch(40.2% 0.105 149.0);
Tailwind
colors: {
  custom: {
    50: '#5b8761',
    500: '#0f5726',
    950: '#000000',
  },
}
SCSS
$custom: #0f5726;
$custom-light: #5b8761;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5726",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 38
  },
  "hsl": {
    "h": 139.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40208,
    "c": 0.10461,
    "h": 149
  },
  "luminance": 0.07058
}

Semantic roles & 50–950 ramp

primary
#0F5726
secondary
#913172
accent
#3AB4ED
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0F5726

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

Preview Lab → · Contrast checker → · Palette generator →

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