#0F562D#0F562D

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

Color values

HEX#0F562D
RGBrgb(15, 86, 45)
HSLhsl(145, 70%, 20%)
HSVhsv(145, 83%, 34%)
CMYKcmyk(82.6%, 0%, 47.7%, 66.3%)
CIE-LABlab(31.68, -31.64, 17.95)
CIE-LCHlch(31.68, 36.38, 150.44°)
OKLaboklab(40.03% -0.0851 0.0443)
OKLCHoklch(40.03% 0.096 152.5)
XYZxyz(3.9981, 6.9461, 3.6121)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F562D #560F38
analogous
#15560F #0F562D #0F5651
triadic
#0F562D #2D0F56 #562D0F
tetradic
#0F562D #0F1556 #560F38 #56510F
square
#0F562D #0F1556 #560F38 #56510F
split-complementary
#0F562D #510F56 #560F15
monochromatic
#051A0E #062212 #0F562D #188A48 #21BE64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F562D#FFFFFF#000000##FFFFFF
##0F562D1.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)
#564E2A
Deuteranopia (green-blind)
#4E4830
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f562d;
/* rgb */ color: rgb(15, 86, 45);
/* oklch */ color: oklch(40.0% 0.096 152.5);
Tailwind
colors: {
  custom: {
    50: '#5b8666',
    500: '#0f562d',
    950: '#000000',
  },
}
SCSS
$custom: #0f562d;
$custom-light: #5b8666;
$custom-dark: #000000;
JSON
{
  "hex": "#0f562d",
  "rgb": {
    "r": 15,
    "g": 86,
    "b": 45
  },
  "hsl": {
    "h": 145.352,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40035,
    "c": 0.09593,
    "h": 152.5
  },
  "luminance": 0.06947
}

Semantic roles & 50–950 ramp

primary
#0F562D
secondary
#903168
accent
#3BA2ED
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0F562D

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

Preview Lab → · Contrast checker → · Palette generator →

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