#0F5A16#0F5A16

#0F5A16 is a dark, vivid green. Relative luminance 0.075; OKLCH L 40.9% C 0.123 H 144.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#0F5A16
RGBrgb(15, 90, 22)
HSLhsl(126, 71%, 21%)
HSVhsv(126, 83%, 35%)
CMYKcmyk(83.3%, 0%, 75.6%, 64.7%)
CIE-LABlab(32.86, -36.70, 31.55)
CIE-LCHlch(32.86, 48.40, 139.32°)
OKLaboklab(40.91% -0.0993 0.0721)
OKLCHoklch(40.91% 0.123 144)
XYZxyz(3.9977, 7.4713, 1.9903)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A16 #5A0F53
analogous
#2D5A0F #0F5A16 #0F5A3B
triadic
#0F5A16 #160F5A #5A160F
tetradic
#0F5A16 #0F2D5A #5A0F53 #5A3B0F
square
#0F5A16 #0F2D5A #5A0F53 #5A3B0F
split-complementary
#0F5A16 #3B0F5A #5A0F2D
monochromatic
#041A06 #062609 #0F5A16 #188E23 #20C330

Accessibility & contrast

On white

8.42
#0F5A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#0F5A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A16
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A16#FFFFFF#000000##FFFFFF
##0F5A161.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510B
Deuteranopia (green-blind)
#544B1D
Tritanopia (blue-blind)
#00574C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0f5a16;
/* rgb */ color: rgb(15, 90, 22);
/* oklch */ color: oklch(40.9% 0.123 144.0);
Tailwind
colors: {
  custom: {
    50: '#5d8957',
    500: '#0f5a16',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a16;
$custom-light: #5d8957;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a16",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 22
  },
  "hsl": {
    "h": 125.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40912,
    "c": 0.12272,
    "h": 144
  },
  "luminance": 0.07472
}

Semantic roles & 50–950 ramp

primary
#0F5A16
secondary
#94318A
accent
#3ADDEE
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0F5A16

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

Preview Lab → · Contrast checker → · Palette generator →

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