#0F5724#0F5724

#0F5724 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.2% C 0.107 H 148.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#0F5724
RGBrgb(15, 87, 36)
HSLhsl(138, 71%, 20%)
HSVhsv(138, 83%, 34%)
CMYKcmyk(82.8%, 0%, 58.6%, 65.9%)
CIE-LABlab(31.91, -33.70, 23.42)
CIE-LCHlch(31.91, 41.04, 145.21°)
OKLaboklab(40.17% -0.0906 0.0562)
OKLCHoklch(40.17% 0.107 148.2)
XYZxyz(3.9233, 7.0449, 2.8217)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5724 #570F42
analogous
#1E570F #0F5724 #0F5748
triadic
#0F5724 #240F57 #57240F
tetradic
#0F5724 #0F1E57 #570F42 #57480F
square
#0F5724 #0F1E57 #570F42 #57480F
split-complementary
#0F5724 #480F57 #570F1E
monochromatic
#051A0B #06230E #0F5724 #188B3A #21BF4F

Accessibility & contrast

On white

8.72
#0F5724 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5724
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5724#FFFFFF#000000##FFFFFF
##0F57241.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F1F
Deuteranopia (green-blind)
#504928
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f5724;
/* rgb */ color: rgb(15, 87, 36);
/* oklch */ color: oklch(40.2% 0.107 148.2);
Tailwind
colors: {
  custom: {
    50: '#5b8760',
    500: '#0f5724',
    950: '#000000',
  },
}
SCSS
$custom: #0f5724;
$custom-light: #5b8760;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5724",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 36
  },
  "hsl": {
    "h": 137.5,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40175,
    "c": 0.1066,
    "h": 148.2
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#0F5724
secondary
#913175
accent
#3AB9ED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B05
muted
#797C79

Preview Lab

Preview with #0F5724

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

Preview Lab → · Contrast checker → · Palette generator →

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