#0F5721#0F5721

#0F5721 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.1% C 0.109 H 147.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#0F5721
RGBrgb(15, 87, 33)
HSLhsl(135, 71%, 20%)
HSVhsv(135, 83%, 34%)
CMYKcmyk(82.8%, 0%, 62.1%, 65.9%)
CIE-LABlab(31.87, -34.18, 25.01)
CIE-LCHlch(31.87, 42.35, 143.81°)
OKLaboklab(40.13% -0.092 0.0594)
OKLCHoklch(40.13% 0.109 147.1)
XYZxyz(3.8794, 7.0273, 2.5905)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5721 #570F45
analogous
#21570F #0F5721 #0F5745
triadic
#0F5721 #210F57 #57210F
tetradic
#0F5721 #0F2157 #570F45 #57450F
square
#0F5721 #0F2157 #570F45 #57450F
split-complementary
#0F5721 #450F57 #570F21
monochromatic
#051A0A #06230D #0F5721 #188B35 #21BF49

Accessibility & contrast

On white

8.73
#0F5721 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5721
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5721#FFFFFF#000000##FFFFFF
##0F57211.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5721;
/* rgb */ color: rgb(15, 87, 33);
/* oklch */ color: oklch(40.1% 0.109 147.1);
Tailwind
colors: {
  custom: {
    50: '#5b875e',
    500: '#0f5721',
    950: '#000000',
  },
}
SCSS
$custom: #0f5721;
$custom-light: #5b875e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5721",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 33
  },
  "hsl": {
    "h": 135,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40129,
    "c": 0.10949,
    "h": 147.1
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#0F5721
secondary
#913179
accent
#3AC1ED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F5721

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

Preview Lab → · Contrast checker → · Palette generator →

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