#0F572A#0F572A

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

Color values

HEX#0F572A
RGBrgb(15, 87, 42)
HSLhsl(143, 71%, 20%)
HSVhsv(143, 83%, 34%)
CMYKcmyk(82.8%, 0%, 51.7%, 65.9%)
CIE-LABlab(32.00, -32.64, 20.11)
CIE-LCHlch(32.00, 38.34, 148.36°)
OKLaboklab(40.28% -0.0877 0.0491)
OKLCHoklch(40.28% 0.101 150.8)
XYZxyz(4.0228, 7.0846, 3.3455)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F572A #570F3C
analogous
#18570F #0F572A #0F574E
triadic
#0F572A #2A0F57 #572A0F
tetradic
#0F572A #0F1857 #570F3C #574E0F
square
#0F572A #0F1857 #570F3C #574E0F
split-complementary
#0F572A #4E0F57 #570F18
monochromatic
#051A0D #062311 #0F572A #188B43 #21BF5C

Accessibility & contrast

On white

8.69
#0F572A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F572A
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F572A#FFFFFF#000000##FFFFFF
##0F572A1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F26
Deuteranopia (green-blind)
#4F492D
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f572a;
/* rgb */ color: rgb(15, 87, 42);
/* oklch */ color: oklch(40.3% 0.101 150.8);
Tailwind
colors: {
  custom: {
    50: '#5b8764',
    500: '#0f572a',
    950: '#000000',
  },
}
SCSS
$custom: #0f572a;
$custom-light: #5b8764;
$custom-dark: #000000;
JSON
{
  "hex": "#0f572a",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 42
  },
  "hsl": {
    "h": 142.5,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40279,
    "c": 0.10053,
    "h": 150.8
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#0F572A
secondary
#91316D
accent
#3AAAED
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #0F572A

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

Preview Lab → · Contrast checker → · Palette generator →

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