#0F5A23#0F5A23

#0F5A23 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.1% C 0.112 H 147.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#0F5A23
RGBrgb(15, 90, 35)
HSLhsl(136, 71%, 21%)
HSVhsv(136, 83%, 35%)
CMYKcmyk(83.3%, 0%, 61.1%, 64.7%)
CIE-LABlab(32.99, -35.03, 25.26)
CIE-LCHlch(32.99, 43.19, 144.20°)
OKLaboklab(41.07% -0.0942 0.0601)
OKLCHoklch(41.07% 0.112 147.4)
XYZxyz(4.1562, 7.5347, 2.8251)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A23 #5A0F46
analogous
#205A0F #0F5A23 #0F5A48
triadic
#0F5A23 #230F5A #5A230F
tetradic
#0F5A23 #0F205A #5A0F46 #5A480F
square
#0F5A23 #0F205A #5A0F46 #5A480F
split-complementary
#0F5A23 #480F5A #5A0F20
monochromatic
#041A0A #06260F #0F5A23 #188E37 #20C34C

Accessibility & contrast

On white

8.38
#0F5A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#0F5A23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A23
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A23#FFFFFF#000000##FFFFFF
##0F5A231.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B511E
Deuteranopia (green-blind)
#534B27
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5a23;
/* rgb */ color: rgb(15, 90, 35);
/* oklch */ color: oklch(41.1% 0.112 147.4);
Tailwind
colors: {
  custom: {
    50: '#5c8960',
    500: '#0f5a23',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a23;
$custom-light: #5c8960;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a23",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 35
  },
  "hsl": {
    "h": 136,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41071,
    "c": 0.11176,
    "h": 147.4
  },
  "luminance": 0.07535
}

Semantic roles & 50–950 ramp

primary
#0F5A23
secondary
#943179
accent
#3ABEEE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F5A23

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

Preview Lab → · Contrast checker → · Palette generator →

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