#0F5C2E#0F5C2E

#0F5C2E is a dark, moderate green. Relative luminance 0.080; OKLCH L 41.9% C 0.104 H 151.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#0F5C2E
RGBrgb(15, 92, 46)
HSLhsl(144, 72%, 21%)
HSVhsv(144, 84%, 36%)
CMYKcmyk(83.7%, 0%, 50%, 63.9%)
CIE-LABlab(33.88, -33.91, 20.19)
CIE-LCHlch(33.88, 39.46, 149.24°)
OKLaboklab(41.86% -0.0911 0.0495)
OKLCHoklch(41.86% 0.104 151.5)
XYZxyz(4.5169, 7.9526, 3.8812)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C2E #5C0F3D
analogous
#165C0F #0F5C2E #0F5C54
triadic
#0F5C2E #2E0F5C #5C2E0F
tetradic
#0F5C2E #0F165C #5C0F3D #5C540F
square
#0F5C2E #0F165C #5C0F3D #5C540F
split-complementary
#0F5C2E #540F5C #5C0F16
monochromatic
#041A0D #062714 #0F5C2E #189148 #20C563

Accessibility & contrast

On white

8.11
#0F5C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#0F5C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5C2E
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5C2E#FFFFFF#000000##FFFFFF
##0F5C2E1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C532A
Deuteranopia (green-blind)
#544D31
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5c2e;
/* rgb */ color: rgb(15, 92, 46);
/* oklch */ color: oklch(41.9% 0.104 151.5);
Tailwind
colors: {
  custom: {
    50: '#5c8b67',
    500: '#0f5c2e',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c2e;
$custom-light: #5c8b67;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c2e",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 46
  },
  "hsl": {
    "h": 144.156,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4186,
    "c": 0.10366,
    "h": 151.5
  },
  "luminance": 0.07953
}

Semantic roles & 50–950 ramp

primary
#0F5C2E
secondary
#95316D
accent
#39A6EF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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