#0F562C#0F562C

#0F562C is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.0% C 0.097 H 152.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#0F562C
RGBrgb(15, 86, 44)
HSLhsl(145, 70%, 20%)
HSVhsv(145, 83%, 34%)
CMYKcmyk(82.6%, 0%, 48.8%, 66.3%)
CIE-LABlab(31.67, -31.84, 18.52)
CIE-LCHlch(31.67, 36.84, 149.82°)
OKLaboklab(40.02% -0.0856 0.0456)
OKLCHoklch(40.02% 0.097 152)
XYZxyz(3.9791, 6.9385, 3.5119)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F562C #560F39
analogous
#16560F #0F562C #0F5650
triadic
#0F562C #2C0F56 #562C0F
tetradic
#0F562C #0F1656 #560F39 #56500F
square
#0F562C #0F1656 #560F39 #56500F
split-complementary
#0F562C #500F56 #560F16
monochromatic
#051A0D #062211 #0F562C #188A47 #21BE61

Accessibility & contrast

On white

8.79
#0F562C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#0F562C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F562C
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F562C#FFFFFF#000000##FFFFFF
##0F562C1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E29
Deuteranopia (green-blind)
#4E482F
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0f562c;
/* rgb */ color: rgb(15, 86, 44);
/* oklch */ color: oklch(40.0% 0.097 152.0);
Tailwind
colors: {
  custom: {
    50: '#5b8666',
    500: '#0f562c',
    950: '#000000',
  },
}
SCSS
$custom: #0f562c;
$custom-light: #5b8666;
$custom-dark: #000000;
JSON
{
  "hex": "#0f562c",
  "rgb": {
    "r": 15,
    "g": 86,
    "b": 44
  },
  "hsl": {
    "h": 144.507,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40015,
    "c": 0.09699,
    "h": 152
  },
  "luminance": 0.06939
}

Semantic roles & 50–950 ramp

primary
#0F562C
secondary
#903169
accent
#3BA4ED
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0F562C

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

Preview Lab → · Contrast checker → · Palette generator →

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