#0F5B23#0F5B23

#0F5B23 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.113 H 147.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#0F5B23
RGBrgb(15, 91, 35)
HSLhsl(136, 72%, 21%)
HSVhsv(136, 84%, 36%)
CMYKcmyk(83.5%, 0%, 61.5%, 64.3%)
CIE-LABlab(33.36, -35.41, 25.70)
CIE-LCHlch(33.36, 43.76, 144.03°)
OKLaboklab(41.37% -0.0952 0.0611)
OKLCHoklch(41.37% 0.113 147.3)
XYZxyz(4.2411, 7.7046, 2.8534)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B23 #5B0F47
analogous
#215B0F #0F5B23 #0F5B49
triadic
#0F5B23 #230F5B #5B230F
tetradic
#0F5B23 #0F215B #5B0F47 #5B490F
square
#0F5B23 #0F215B #5B0F47 #5B490F
split-complementary
#0F5B23 #490F5B #5B0F21
monochromatic
#041A0A #06260F #0F5B23 #189037 #20C44B

Accessibility & contrast

On white

8.26
#0F5B23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#0F5B23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5B23
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5B23#FFFFFF#000000##FFFFFF
##0F5B231.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C521D
Deuteranopia (green-blind)
#544C27
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5b23;
/* rgb */ color: rgb(15, 91, 35);
/* oklch */ color: oklch(41.4% 0.113 147.3);
Tailwind
colors: {
  custom: {
    50: '#5c8a60',
    500: '#0f5b23',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b23;
$custom-light: #5c8a60;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b23",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 35
  },
  "hsl": {
    "h": 135.789,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41374,
    "c": 0.11315,
    "h": 147.3
  },
  "luminance": 0.07705
}

Semantic roles & 50–950 ramp

primary
#0F5B23
secondary
#95317A
accent
#39BFEE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F5B23

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

Preview Lab → · Contrast checker → · Palette generator →

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