#0F5B2A#0F5B2A

#0F5B2A is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.5% C 0.106 H 149.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#0F5B2A
RGBrgb(15, 91, 42)
HSLhsl(141, 72%, 21%)
HSVhsv(141, 84%, 36%)
CMYKcmyk(83.5%, 0%, 53.8%, 64.3%)
CIE-LABlab(33.46, -34.25, 21.94)
CIE-LCHlch(33.46, 40.68, 147.35°)
OKLaboklab(41.49% -0.092 0.0533)
OKLCHoklch(41.49% 0.106 149.9)
XYZxyz(4.3556, 7.7504, 3.4565)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B2A #5B0F40
analogous
#1A5B0F #0F5B2A #0F5B50
triadic
#0F5B2A #2A0F5B #5B2A0F
tetradic
#0F5B2A #0F1A5B #5B0F40 #5B500F
square
#0F5B2A #0F1A5B #5B0F40 #5B500F
split-complementary
#0F5B2A #500F5B #5B0F1A
monochromatic
#041A0C #062612 #0F5B2A #189042 #20C45A

Accessibility & contrast

On white

8.23
#0F5B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#0F5B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5B2A
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5B2A#FFFFFF#000000##FFFFFF
##0F5B2A1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5226
Deuteranopia (green-blind)
#534C2E
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5b2a;
/* rgb */ color: rgb(15, 91, 42);
/* oklch */ color: oklch(41.5% 0.106 149.9);
Tailwind
colors: {
  custom: {
    50: '#5c8a64',
    500: '#0f5b2a',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b2a;
$custom-light: #5c8a64;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b2a",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 42
  },
  "hsl": {
    "h": 141.316,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41486,
    "c": 0.1063,
    "h": 149.9
  },
  "luminance": 0.07751
}

Semantic roles & 50–950 ramp

primary
#0F5B2A
secondary
#953171
accent
#39AEEE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #0F5B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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