#0F5B14#0F5B14

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

Color values

HEX#0F5B14
RGBrgb(15, 91, 20)
HSLhsl(124, 72%, 21%)
HSVhsv(124, 84%, 36%)
CMYKcmyk(83.5%, 0%, 78%, 64.3%)
CIE-LABlab(33.21, -37.26, 32.78)
CIE-LCHlch(33.21, 49.63, 138.67°)
OKLaboklab(41.2% -0.1009 0.0744)
OKLCHoklch(41.2% 0.125 143.6)
XYZxyz(4.0641, 7.6338, 1.9210)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B14 #5B0F56
analogous
#305B0F #0F5B14 #0F5B3A
triadic
#0F5B14 #140F5B #5B140F
tetradic
#0F5B14 #0F305B #5B0F56 #5B3A0F
square
#0F5B14 #0F305B #5B0F56 #5B3A0F
split-complementary
#0F5B14 #3A0F5B #5B0F30
monochromatic
#041A06 #062608 #0F5B14 #189020 #20C42B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5B14#FFFFFF#000000##FFFFFF
##0F5B141.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)
#5D5208
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5b14;
/* rgb */ color: rgb(15, 91, 20);
/* oklch */ color: oklch(41.2% 0.125 143.6);
Tailwind
colors: {
  custom: {
    50: '#5d8a57',
    500: '#0f5b14',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b14;
$custom-light: #5d8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b14",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 20
  },
  "hsl": {
    "h": 123.947,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41199,
    "c": 0.12536,
    "h": 143.6
  },
  "luminance": 0.07634
}

Semantic roles & 50–950 ramp

primary
#0F5B14
secondary
#95318E
accent
#39E3EE
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0F5B14

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

Preview Lab → · Contrast checker → · Palette generator →

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