#0F5823#0F5823

#0F5823 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.109 H 147.7°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#0F5823
RGBrgb(15, 88, 35)
HSLhsl(136, 71%, 20%)
HSVhsv(136, 83%, 35%)
CMYKcmyk(83%, 0%, 60.2%, 65.5%)
CIE-LABlab(32.26, -34.26, 24.39)
CIE-LCHlch(32.26, 42.05, 144.55°)
OKLaboklab(40.46% -0.0921 0.0582)
OKLCHoklch(40.46% 0.109 147.7)
XYZxyz(3.9898, 7.2019, 2.7696)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5823 #580F44
analogous
#20580F #0F5823 #0F5847
triadic
#0F5823 #230F58 #58230F
tetradic
#0F5823 #0F2058 #580F44 #58470F
square
#0F5823 #0F2058 #580F44 #58470F
split-complementary
#0F5823 #470F58 #580F20
monochromatic
#041A0A #06240E #0F5823 #188C38 #21C14D

Accessibility & contrast

On white

8.61
#0F5823 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#0F5823 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5823
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5823#FFFFFF#000000##FFFFFF
##0F58231.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F1E
Deuteranopia (green-blind)
#514A27
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f5823;
/* rgb */ color: rgb(15, 88, 35);
/* oklch */ color: oklch(40.5% 0.109 147.7);
Tailwind
colors: {
  custom: {
    50: '#5c885f',
    500: '#0f5823',
    950: '#000000',
  },
}
SCSS
$custom: #0f5823;
$custom-light: #5c885f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5823",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 35
  },
  "hsl": {
    "h": 136.438,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40464,
    "c": 0.10898,
    "h": 147.7
  },
  "luminance": 0.07202
}

Semantic roles & 50–950 ramp

primary
#0F5823
secondary
#923177
accent
#3ABCEE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B05
muted
#797C79

Preview Lab

Preview with #0F5823

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

Preview Lab → · Contrast checker → · Palette generator →

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