#0F5C34#0F5C34

#0F5C34 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.097 H 154.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#0F5C34
RGBrgb(15, 92, 52)
HSLhsl(149, 72%, 21%)
HSVhsv(149, 84%, 36%)
CMYKcmyk(83.7%, 0%, 43.5%, 63.9%)
CIE-LABlab(33.99, -32.69, 16.79)
CIE-LCHlch(33.99, 36.75, 152.81°)
OKLaboklab(41.98% -0.088 0.0418)
OKLCHoklch(41.98% 0.097 154.6)
XYZxyz(4.6435, 8.0032, 4.5482)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C34 #5C0F37
analogous
#105C0F #0F5C34 #0F5C5A
triadic
#0F5C34 #340F5C #5C340F
tetradic
#0F5C34 #0F105C #5C0F37 #5C5A0F
square
#0F5C34 #0F105C #5C0F37 #5C5A0F
split-complementary
#0F5C34 #5A0F5C #5C0F10
monochromatic
#041A0F #062716 #0F5C34 #189152 #20C56F

Accessibility & contrast

On white

8.07
#0F5C34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#0F5C34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5C34
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5C34#FFFFFF#000000##FFFFFF
##0F5C341.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5431
Deuteranopia (green-blind)
#534D37
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5c34;
/* rgb */ color: rgb(15, 92, 52);
/* oklch */ color: oklch(42.0% 0.097 154.6);
Tailwind
colors: {
  custom: {
    50: '#5c8b6c',
    500: '#0f5c34',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c34;
$custom-light: #5c8b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c34",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 52
  },
  "hsl": {
    "h": 148.831,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41982,
    "c": 0.09745,
    "h": 154.6
  },
  "luminance": 0.08004
}

Semantic roles & 50–950 ramp

primary
#0F5C34
secondary
#953165
accent
#3997EF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C07
muted
#797D7A

Preview Lab

Preview with #0F5C34

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

Preview Lab → · Contrast checker → · Palette generator →

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