#0F5F23#0F5F23

#0F5F23 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.119 H 146.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#0F5F23
RGBrgb(15, 95, 35)
HSLhsl(135, 73%, 22%)
HSVhsv(135, 84%, 37%)
CMYKcmyk(84.2%, 0%, 63.2%, 62.7%)
CIE-LABlab(34.82, -36.93, 27.41)
CIE-LCHlch(34.82, 45.99, 143.42°)
OKLaboklab(42.58% -0.0993 0.0648)
OKLCHoklch(42.58% 0.119 146.9)
XYZxyz(4.5922, 8.4068, 2.9704)
Luminance0.0841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F23 #5F0F4B
analogous
#235F0F #0F5F23 #0F5F4B
triadic
#0F5F23 #230F5F #5F230F
tetradic
#0F5F23 #0F235F #5F0F4B #5F4B0F
square
#0F5F23 #0F235F #5F0F4B #5F4B0F
split-complementary
#0F5F23 #4B0F5F #5F0F23
monochromatic
#041A0A #072A10 #0F5F23 #179436 #20C94A

Accessibility & contrast

On white

7.83
#0F5F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#0F5F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5F23
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5F23#FFFFFF#000000##FFFFFF
##0F5F231.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60561D
Deuteranopia (green-blind)
#574F28
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f5f23;
/* rgb */ color: rgb(15, 95, 35);
/* oklch */ color: oklch(42.6% 0.119 146.9);
Tailwind
colors: {
  custom: {
    50: '#5e8d60',
    500: '#0f5f23',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f23;
$custom-light: #5e8d60;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f23",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 35
  },
  "hsl": {
    "h": 135,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42582,
    "c": 0.11859,
    "h": 146.9
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#0F5F23
secondary
#98327F
accent
#38C2EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F5F23

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

Preview Lab → · Contrast checker → · Palette generator →

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