#0F572D#0F572D

#0F572D is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.097 H 152.2°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#0F572D
RGBrgb(15, 87, 45)
HSLhsl(145, 71%, 20%)
HSVhsv(145, 83%, 34%)
CMYKcmyk(82.8%, 0%, 48.3%, 65.9%)
CIE-LABlab(32.05, -32.06, 18.42)
CIE-LCHlch(32.05, 36.98, 150.12°)
OKLaboklab(40.34% -0.0862 0.0454)
OKLCHoklch(40.34% 0.097 152.2)
XYZxyz(4.0785, 7.1069, 3.6389)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F572D #570F39
analogous
#15570F #0F572D #0F5751
triadic
#0F572D #2D0F57 #572D0F
tetradic
#0F572D #0F1557 #570F39 #57510F
square
#0F572D #0F1557 #570F39 #57510F
split-complementary
#0F572D #510F57 #570F15
monochromatic
#051A0E #062312 #0F572D #188B48 #21BF63

Accessibility & contrast

On white

8.67
#0F572D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#0F572D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F572D
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F572D#FFFFFF#000000##FFFFFF
##0F572D1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F2A
Deuteranopia (green-blind)
#4F4930
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f572d;
/* rgb */ color: rgb(15, 87, 45);
/* oklch */ color: oklch(40.3% 0.097 152.2);
Tailwind
colors: {
  custom: {
    50: '#5b8766',
    500: '#0f572d',
    950: '#000000',
  },
}
SCSS
$custom: #0f572d;
$custom-light: #5b8766;
$custom-dark: #000000;
JSON
{
  "hex": "#0f572d",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 45
  },
  "hsl": {
    "h": 145,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40337,
    "c": 0.09742,
    "h": 152.2
  },
  "luminance": 0.07107
}

Semantic roles & 50–950 ramp

primary
#0F572D
secondary
#913169
accent
#3AA3ED
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0F572D

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

Preview Lab → · Contrast checker → · Palette generator →

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