#0F5A13#0F5A13

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

Color values

HEX#0F5A13
RGBrgb(15, 90, 19)
HSLhsl(123, 71%, 21%)
HSVhsv(123, 83%, 35%)
CMYKcmyk(83.3%, 0%, 78.9%, 64.7%)
CIE-LABlab(32.83, -37.00, 32.81)
CIE-LCHlch(32.83, 49.45, 138.43°)
OKLaboklab(40.89% -0.1002 0.0743)
OKLCHoklch(40.89% 0.125 143.4)
XYZxyz(3.9705, 7.4604, 1.8467)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A13 #5A0F56
analogous
#305A0F #0F5A13 #0F5A38
triadic
#0F5A13 #130F5A #5A130F
tetradic
#0F5A13 #0F305A #5A0F56 #5A380F
square
#0F5A13 #0F305A #5A0F56 #5A380F
split-complementary
#0F5A13 #380F5A #5A0F30
monochromatic
#041A06 #062608 #0F5A13 #188E1E #20C329

Accessibility & contrast

On white

8.43
#0F5A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5A13
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A13#FFFFFF#000000##FFFFFF
##0F5A131.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5a13;
/* rgb */ color: rgb(15, 90, 19);
/* oklch */ color: oklch(40.9% 0.125 143.4);
Tailwind
colors: {
  custom: {
    50: '#5d8956',
    500: '#0f5a13',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a13;
$custom-light: #5d8956;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a13",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 123.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40885,
    "c": 0.12478,
    "h": 143.4
  },
  "luminance": 0.07461
}

Semantic roles & 50–950 ramp

primary
#0F5A13
secondary
#94318E
accent
#3AE5EE
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0F5A13

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

Preview Lab → · Contrast checker → · Palette generator →

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