#0F5725#0F5725

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

Color values

HEX#0F5725
RGBrgb(15, 87, 37)
HSLhsl(138, 71%, 20%)
HSVhsv(138, 83%, 34%)
CMYKcmyk(82.8%, 0%, 57.5%, 65.9%)
CIE-LABlab(31.92, -33.54, 22.88)
CIE-LCHlch(31.92, 40.60, 145.70°)
OKLaboklab(40.19% -0.0901 0.055)
OKLCHoklch(40.19% 0.106 148.6)
XYZxyz(3.9388, 7.0511, 2.9033)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5725 #570F41
analogous
#1D570F #0F5725 #0F5749
triadic
#0F5725 #250F57 #57250F
tetradic
#0F5725 #0F1D57 #570F41 #57490F
square
#0F5725 #0F1D57 #570F41 #57490F
split-complementary
#0F5725 #490F57 #570F1D
monochromatic
#051A0B #06230F #0F5725 #188B3B #21BF51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5725#FFFFFF#000000##FFFFFF
##0F57251.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)
#584F21
Deuteranopia (green-blind)
#504929
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f5725;
/* rgb */ color: rgb(15, 87, 37);
/* oklch */ color: oklch(40.2% 0.106 148.6);
Tailwind
colors: {
  custom: {
    50: '#5b8761',
    500: '#0f5725',
    950: '#000000',
  },
}
SCSS
$custom: #0f5725;
$custom-light: #5b8761;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5725",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 37
  },
  "hsl": {
    "h": 138.333,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40191,
    "c": 0.10561,
    "h": 148.6
  },
  "luminance": 0.07052
}

Semantic roles & 50–950 ramp

primary
#0F5725
secondary
#913174
accent
#3AB7ED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B05
muted
#797C79

Preview Lab

Preview with #0F5725

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

Preview Lab → · Contrast checker → · Palette generator →

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