#0F5D2F#0F5D2F

#0F5D2F is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.104 H 151.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#0F5D2F
RGBrgb(15, 93, 47)
HSLhsl(145, 72%, 21%)
HSVhsv(145, 84%, 36%)
CMYKcmyk(83.9%, 0%, 49.5%, 63.5%)
CIE-LABlab(34.26, -34.12, 20.09)
CIE-LCHlch(34.26, 39.59, 149.51°)
OKLaboklab(42.18% -0.0917 0.0493)
OKLCHoklch(42.18% 0.104 151.7)
XYZxyz(4.6240, 8.1349, 4.0153)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D2F #5D0F3D
analogous
#165D0F #0F5D2F #0F5D56
triadic
#0F5D2F #2F0F5D #5D2F0F
tetradic
#0F5D2F #0F165D #5D0F3D #5D560F
square
#0F5D2F #0F165D #5D0F3D #5D560F
split-complementary
#0F5D2F #560F5D #5D0F16
monochromatic
#041A0D #062814 #0F5D2F #17924A #20C664

Accessibility & contrast

On white

7.99
#0F5D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#0F5D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5D2F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D2F#FFFFFF#000000##FFFFFF
##0F5D2F1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D542B
Deuteranopia (green-blind)
#544E32
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5d2f;
/* rgb */ color: rgb(15, 93, 47);
/* oklch */ color: oklch(42.2% 0.104 151.7);
Tailwind
colors: {
  custom: {
    50: '#5d8c68',
    500: '#0f5d2f',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d2f;
$custom-light: #5d8c68;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d2f",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 47
  },
  "hsl": {
    "h": 144.615,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42178,
    "c": 0.10408,
    "h": 151.7
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#0F5D2F
secondary
#96316D
accent
#39A4EF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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