#0F5B1E#0F5B1E

#0F5B1E is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.3% C 0.118 H 145.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#0F5B1E
RGBrgb(15, 91, 30)
HSLhsl(132, 72%, 21%)
HSVhsv(132, 84%, 36%)
CMYKcmyk(83.5%, 0%, 67%, 64.3%)
CIE-LABlab(33.30, -36.13, 28.23)
CIE-LCHlch(33.30, 45.85, 141.99°)
OKLaboklab(41.31% -0.0973 0.0661)
OKLCHoklch(41.31% 0.118 145.8)
XYZxyz(4.1721, 7.6770, 2.4900)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B1E #5B0F4C
analogous
#265B0F #0F5B1E #0F5B44
triadic
#0F5B1E #1E0F5B #5B1E0F
tetradic
#0F5B1E #0F265B #5B0F4C #5B440F
square
#0F5B1E #0F265B #5B0F4C #5B440F
split-complementary
#0F5B1E #440F5B #5B0F26
monochromatic
#041A09 #06260D #0F5B1E #18902F #20C441

Accessibility & contrast

On white

8.28
#0F5B1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#0F5B1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5B1E
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5B1E#FFFFFF#000000##FFFFFF
##0F5B1E1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5217
Deuteranopia (green-blind)
#544C23
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5b1e;
/* rgb */ color: rgb(15, 91, 30);
/* oklch */ color: oklch(41.3% 0.118 145.8);
Tailwind
colors: {
  custom: {
    50: '#5d8a5c',
    500: '#0f5b1e',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b1e;
$custom-light: #5d8a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b1e",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 30
  },
  "hsl": {
    "h": 131.842,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41306,
    "c": 0.11766,
    "h": 145.8
  },
  "luminance": 0.07677
}

Semantic roles & 50–950 ramp

primary
#0F5B1E
secondary
#953181
accent
#39CBEE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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