#0F5D2D#0F5D2D

#0F5D2D is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.106 H 150.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#0F5D2D
RGBrgb(15, 93, 45)
HSLhsl(143, 72%, 21%)
HSVhsv(143, 84%, 36%)
CMYKcmyk(83.9%, 0%, 51.6%, 63.5%)
CIE-LABlab(34.23, -34.50, 21.20)
CIE-LCHlch(34.23, 40.49, 148.43°)
OKLaboklab(42.14% -0.0927 0.0517)
OKLCHoklch(42.14% 0.106 150.8)
XYZxyz(4.5846, 8.1192, 3.8076)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D2D #5D0F3F
analogous
#185D0F #0F5D2D #0F5D54
triadic
#0F5D2D #2D0F5D #5D2D0F
tetradic
#0F5D2D #0F185D #5D0F3F #5D540F
square
#0F5D2D #0F185D #5D0F3F #5D540F
split-complementary
#0F5D2D #540F5D #5D0F18
monochromatic
#041A0D #062813 #0F5D2D #179246 #20C660

Accessibility & contrast

On white

8.00
#0F5D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#0F5D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5D2D
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D2D#FFFFFF#000000##FFFFFF
##0F5D2D1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5429
Deuteranopia (green-blind)
#554E30
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5d2d;
/* rgb */ color: rgb(15, 93, 45);
/* oklch */ color: oklch(42.1% 0.106 150.8);
Tailwind
colors: {
  custom: {
    50: '#5d8c67',
    500: '#0f5d2d',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d2d;
$custom-light: #5d8c67;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d2d",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 45
  },
  "hsl": {
    "h": 143.077,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42141,
    "c": 0.10612,
    "h": 150.8
  },
  "luminance": 0.0812
}

Semantic roles & 50–950 ramp

primary
#0F5D2D
secondary
#963170
accent
#39A9EF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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