#0F562A#0F562A

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

Color values

HEX#0F562A
RGBrgb(15, 86, 42)
HSLhsl(143, 70%, 20%)
HSVhsv(143, 83%, 34%)
CMYKcmyk(82.6%, 0%, 51.2%, 66.3%)
CIE-LABlab(31.63, -32.23, 19.65)
CIE-LCHlch(31.63, 37.75, 148.63°)
OKLaboklab(39.98% -0.0866 0.0481)
OKLCHoklch(39.98% 0.099 151)
XYZxyz(3.9424, 6.9238, 3.3187)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F562A #560F3B
analogous
#17560F #0F562A #0F564E
triadic
#0F562A #2A0F56 #562A0F
tetradic
#0F562A #0F1756 #560F3B #564E0F
square
#0F562A #0F1756 #560F3B #564E0F
split-complementary
#0F562A #4E0F56 #560F17
monochromatic
#051A0D #062211 #0F562A #188A43 #21BE5D

Accessibility & contrast

On white

8.81
#0F562A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#0F562A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F562A
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F562A#FFFFFF#000000##FFFFFF
##0F562A1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E27
Deuteranopia (green-blind)
#4E482D
Tritanopia (blue-blind)
#00544C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0f562a;
/* rgb */ color: rgb(15, 86, 42);
/* oklch */ color: oklch(40.0% 0.099 151.0);
Tailwind
colors: {
  custom: {
    50: '#5b8664',
    500: '#0f562a',
    950: '#000000',
  },
}
SCSS
$custom: #0f562a;
$custom-light: #5b8664;
$custom-dark: #000000;
JSON
{
  "hex": "#0f562a",
  "rgb": {
    "r": 15,
    "g": 86,
    "b": 42
  },
  "hsl": {
    "h": 142.817,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39976,
    "c": 0.09908,
    "h": 151
  },
  "luminance": 0.06924
}

Semantic roles & 50–950 ramp

primary
#0F562A
secondary
#90316C
accent
#3BA9ED
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #0F562A

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

Preview Lab → · Contrast checker → · Palette generator →

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