#0F5B16#0F5B16

#0F5B16 is a dark, vivid green. Relative luminance 0.076; OKLCH L 41.2% C 0.124 H 144.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#0F5B16
RGBrgb(15, 91, 22)
HSLhsl(126, 72%, 21%)
HSVhsv(126, 84%, 36%)
CMYKcmyk(83.5%, 0%, 75.8%, 64.3%)
CIE-LABlab(33.22, -37.07, 31.94)
CIE-LCHlch(33.22, 48.93, 139.25°)
OKLaboklab(41.22% -0.1003 0.0729)
OKLCHoklch(41.22% 0.124 144)
XYZxyz(4.0826, 7.6412, 2.0186)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B16 #5B0F54
analogous
#2E5B0F #0F5B16 #0F5B3C
triadic
#0F5B16 #160F5B #5B160F
tetradic
#0F5B16 #0F2E5B #5B0F54 #5B3C0F
square
#0F5B16 #0F2E5B #5B0F54 #5B3C0F
split-complementary
#0F5B16 #3C0F5B #5B0F2E
monochromatic
#041A06 #062609 #0F5B16 #189023 #20C42F

Accessibility & contrast

On white

8.31
#0F5B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#0F5B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5B16
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5B16#FFFFFF#000000##FFFFFF
##0F5B161.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520B
Deuteranopia (green-blind)
#554C1D
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5b16;
/* rgb */ color: rgb(15, 91, 22);
/* oklch */ color: oklch(41.2% 0.124 144.0);
Tailwind
colors: {
  custom: {
    50: '#5d8a58',
    500: '#0f5b16',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b16;
$custom-light: #5d8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b16",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 22
  },
  "hsl": {
    "h": 125.526,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41217,
    "c": 0.12399,
    "h": 144
  },
  "luminance": 0.07642
}

Semantic roles & 50–950 ramp

primary
#0F5B16
secondary
#95318B
accent
#39DEEE
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0F5B16

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

Preview Lab → · Contrast checker → · Palette generator →

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