#0F5A14#0F5A14

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

Color values

HEX#0F5A14
RGBrgb(15, 90, 20)
HSLhsl(124, 71%, 21%)
HSVhsv(124, 83%, 35%)
CMYKcmyk(83.3%, 0%, 77.8%, 64.7%)
CIE-LABlab(32.84, -36.90, 32.40)
CIE-LCHlch(32.84, 49.11, 138.72°)
OKLaboklab(40.89% -0.0999 0.0736)
OKLCHoklch(40.89% 0.124 143.6)
XYZxyz(3.9792, 7.4639, 1.8927)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A14 #5A0F55
analogous
#2F5A0F #0F5A14 #0F5A39
triadic
#0F5A14 #140F5A #5A140F
tetradic
#0F5A14 #0F2F5A #5A0F55 #5A390F
square
#0F5A14 #0F2F5A #5A0F55 #5A390F
split-complementary
#0F5A14 #390F5A #5A0F2F
monochromatic
#041A06 #062608 #0F5A14 #188E20 #20C32B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5A14#FFFFFF#000000##FFFFFF
##0F5A141.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)
#5C5108
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#00574C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0f5a14;
/* rgb */ color: rgb(15, 90, 20);
/* oklch */ color: oklch(40.9% 0.124 143.6);
Tailwind
colors: {
  custom: {
    50: '#5d8956',
    500: '#0f5a14',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a14;
$custom-light: #5d8956;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a14",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 20
  },
  "hsl": {
    "h": 124,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40893,
    "c": 0.12411,
    "h": 143.6
  },
  "luminance": 0.07464
}

Semantic roles & 50–950 ramp

primary
#0F5A14
secondary
#94318D
accent
#3AE2EE
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0F5A14

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

Preview Lab → · Contrast checker → · Palette generator →

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