#0F5D2C#0F5D2C

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

Color values

HEX#0F5D2C
RGBrgb(15, 93, 44)
HSLhsl(142, 72%, 21%)
HSVhsv(142, 84%, 36%)
CMYKcmyk(83.9%, 0%, 52.7%, 63.5%)
CIE-LABlab(34.21, -34.68, 21.75)
CIE-LCHlch(34.21, 40.94, 147.91°)
OKLaboklab(42.12% -0.0931 0.0529)
OKLCHoklch(42.12% 0.107 150.4)
XYZxyz(4.5656, 8.1116, 3.7074)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D2C #5D0F40
analogous
#195D0F #0F5D2C #0F5D53
triadic
#0F5D2C #2C0F5D #5D2C0F
tetradic
#0F5D2C #0F195D #5D0F40 #5D530F
square
#0F5D2C #0F195D #5D0F40 #5D530F
split-complementary
#0F5D2C #530F5D #5D0F19
monochromatic
#041A0C #062813 #0F5D2C #179245 #20C65E

Accessibility & contrast

On white

8.01
#0F5D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5D2C
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D2C#FFFFFF#000000##FFFFFF
##0F5D2C1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5d2c;
/* rgb */ color: rgb(15, 93, 44);
/* oklch */ color: oklch(42.1% 0.107 150.4);
Tailwind
colors: {
  custom: {
    50: '#5d8c66',
    500: '#0f5d2c',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d2c;
$custom-light: #5d8c66;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d2c",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 44
  },
  "hsl": {
    "h": 142.308,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42123,
    "c": 0.10714,
    "h": 150.4
  },
  "luminance": 0.08112
}

Semantic roles & 50–950 ramp

primary
#0F5D2C
secondary
#963171
accent
#39ABEF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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