#0F5923#0F5923

#0F5923 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.8% C 0.110 H 147.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#0F5923
RGBrgb(15, 89, 35)
HSLhsl(136, 71%, 20%)
HSVhsv(136, 83%, 35%)
CMYKcmyk(83.1%, 0%, 60.7%, 65.1%)
CIE-LABlab(32.63, -34.65, 24.83)
CIE-LCHlch(32.63, 42.62, 144.37°)
OKLaboklab(40.77% -0.0932 0.0592)
OKLCHoklch(40.77% 0.11 147.6)
XYZxyz(4.0724, 7.3672, 2.7972)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5923 #590F45
analogous
#20590F #0F5923 #0F5948
triadic
#0F5923 #230F59 #59230F
tetradic
#0F5923 #0F2059 #590F45 #59480F
square
#0F5923 #0F2059 #590F45 #59480F
split-complementary
#0F5923 #480F59 #590F20
monochromatic
#041A0A #06250E #0F5923 #188D38 #21C24C

Accessibility & contrast

On white

8.49
#0F5923 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#0F5923 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5923
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5923#FFFFFF#000000##FFFFFF
##0F59231.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A501E
Deuteranopia (green-blind)
#524A27
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0f5923;
/* rgb */ color: rgb(15, 89, 35);
/* oklch */ color: oklch(40.8% 0.110 147.6);
Tailwind
colors: {
  custom: {
    50: '#5c895f',
    500: '#0f5923',
    950: '#000000',
  },
}
SCSS
$custom: #0f5923;
$custom-light: #5c895f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5923",
  "rgb": {
    "r": 15,
    "g": 89,
    "b": 35
  },
  "hsl": {
    "h": 136.216,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40767,
    "c": 0.11037,
    "h": 147.6
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

primary
#0F5923
secondary
#933178
accent
#3ABDEE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B05
muted
#797C79

Preview Lab

Preview with #0F5923

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

Preview Lab → · Contrast checker → · Palette generator →

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