#0F5C2C#0F5C2C

#0F5C2C is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.106 H 150.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#0F5C2C
RGBrgb(15, 92, 44)
HSLhsl(143, 72%, 21%)
HSVhsv(143, 84%, 36%)
CMYKcmyk(83.7%, 0%, 52.2%, 63.9%)
CIE-LABlab(33.85, -34.29, 21.30)
CIE-LCHlch(33.85, 40.36, 148.15°)
OKLaboklab(41.82% -0.0921 0.0519)
OKLCHoklch(41.82% 0.106 150.6)
XYZxyz(4.4784, 7.9372, 3.6784)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C2C #5C0F3F
analogous
#185C0F #0F5C2C #0F5C52
triadic
#0F5C2C #2C0F5C #5C2C0F
tetradic
#0F5C2C #0F185C #5C0F3F #5C520F
square
#0F5C2C #0F185C #5C0F3F #5C520F
split-complementary
#0F5C2C #520F5C #5C0F18
monochromatic
#041A0D #062713 #0F5C2C #189145 #20C55E

Accessibility & contrast

On white

8.12
#0F5C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5C2C
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5C2C#FFFFFF#000000##FFFFFF
##0F5C2C1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5c2c;
/* rgb */ color: rgb(15, 92, 44);
/* oklch */ color: oklch(41.8% 0.106 150.6);
Tailwind
colors: {
  custom: {
    50: '#5c8b66',
    500: '#0f5c2c',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c2c;
$custom-light: #5c8b66;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c2c",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 44
  },
  "hsl": {
    "h": 142.597,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41823,
    "c": 0.10571,
    "h": 150.6
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

primary
#0F5C2C
secondary
#953170
accent
#39AAEF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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