#0F5C2B#0F5C2B

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

Color values

HEX#0F5C2B
RGBrgb(15, 92, 43)
HSLhsl(142, 72%, 21%)
HSVhsv(142, 84%, 36%)
CMYKcmyk(83.7%, 0%, 53.3%, 63.9%)
CIE-LABlab(33.84, -34.47, 21.85)
CIE-LCHlch(33.84, 40.81, 147.63°)
OKLaboklab(41.81% -0.0926 0.0531)
OKLCHoklch(41.81% 0.107 150.2)
XYZxyz(4.4598, 7.9297, 3.5806)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C2B #5C0F40
analogous
#195C0F #0F5C2B #0F5C51
triadic
#0F5C2B #2B0F5C #5C2B0F
tetradic
#0F5C2B #0F195C #5C0F40 #5C510F
square
#0F5C2B #0F195C #5C0F40 #5C510F
split-complementary
#0F5C2B #510F5C #5C0F19
monochromatic
#041A0C #062712 #0F5C2B #189144 #20C55C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5C2B#FFFFFF#000000##FFFFFF
##0F5C2B1.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)
#5D5327
Deuteranopia (green-blind)
#544D2F
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5c2b;
/* rgb */ color: rgb(15, 92, 43);
/* oklch */ color: oklch(41.8% 0.107 150.2);
Tailwind
colors: {
  custom: {
    50: '#5c8b65',
    500: '#0f5c2b',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c2b;
$custom-light: #5c8b65;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c2b",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 43
  },
  "hsl": {
    "h": 141.818,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41805,
    "c": 0.10672,
    "h": 150.2
  },
  "luminance": 0.0793
}

Semantic roles & 50–950 ramp

primary
#0F5C2B
secondary
#953171
accent
#39ADEF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #0F5C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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