#0F5C23#0F5C23

#0F5C23 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.115 H 147.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#0F5C23
RGBrgb(15, 92, 35)
HSLhsl(136, 72%, 21%)
HSVhsv(136, 84%, 36%)
CMYKcmyk(83.7%, 0%, 62%, 63.9%)
CIE-LABlab(33.72, -35.79, 26.13)
CIE-LCHlch(33.72, 44.32, 143.87°)
OKLaboklab(41.68% -0.0963 0.062)
OKLCHoklch(41.68% 0.115 147.2)
XYZxyz(4.3272, 7.8767, 2.8821)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C23 #5C0F48
analogous
#215C0F #0F5C23 #0F5C49
triadic
#0F5C23 #230F5C #5C230F
tetradic
#0F5C23 #0F215C #5C0F48 #5C490F
square
#0F5C23 #0F215C #5C0F48 #5C490F
split-complementary
#0F5C23 #490F5C #5C0F21
monochromatic
#041A0A #06270F #0F5C23 #189137 #20C54B

Accessibility & contrast

On white

8.15
#0F5C23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#0F5C23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5C23
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5C23#FFFFFF#000000##FFFFFF
##0F5C231.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D531D
Deuteranopia (green-blind)
#554D28
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5c23;
/* rgb */ color: rgb(15, 92, 35);
/* oklch */ color: oklch(41.7% 0.115 147.2);
Tailwind
colors: {
  custom: {
    50: '#5d8b60',
    500: '#0f5c23',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c23;
$custom-light: #5d8b60;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c23",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 35
  },
  "hsl": {
    "h": 135.584,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41676,
    "c": 0.11452,
    "h": 147.2
  },
  "luminance": 0.07877
}

Semantic roles & 50–950 ramp

primary
#0F5C23
secondary
#95317B
accent
#39C0EF
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F5C23

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

Preview Lab → · Contrast checker → · Palette generator →

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