#0F5019#0F5019

#0F5019 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.107 H 145.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#0F5019
RGBrgb(15, 80, 25)
HSLhsl(129, 68%, 19%)
HSVhsv(129, 81%, 31%)
CMYKcmyk(81.3%, 0%, 68.8%, 68.6%)
CIE-LABlab(29.18, -32.61, 26.12)
CIE-LCHlch(29.18, 41.78, 141.30°)
OKLaboklab(37.87% -0.088 0.061)
OKLCHoklch(37.87% 0.107 145.3)
XYZxyz(3.2409, 5.9087, 1.8892)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5019 #500F46
analogous
#25500F #0F5019 #0F5039
triadic
#0F5019 #190F50 #50190F
tetradic
#0F5019 #0F2550 #500F46 #50390F
square
#0F5019 #0F2550 #500F46 #50390F
split-complementary
#0F5019 #390F50 #500F25
monochromatic
#051A08 #051C09 #0F5019 #198429 #22B739

Accessibility & contrast

On white

9.63
#0F5019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#0F5019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5019
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5019#FFFFFF#000000##FFFFFF
##0F50191.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514813
Deuteranopia (green-blind)
#4A431E
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f5019;
/* rgb */ color: rgb(15, 80, 25);
/* oklch */ color: oklch(37.9% 0.107 145.3);
Tailwind
colors: {
  custom: {
    50: '#5a8258',
    500: '#0f5019',
    950: '#000000',
  },
}
SCSS
$custom: #0f5019;
$custom-light: #5a8258;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5019",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 25
  },
  "hsl": {
    "h": 129.231,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37869,
    "c": 0.1071,
    "h": 145.3
  },
  "luminance": 0.05909
}

Semantic roles & 50–950 ramp

primary
#0F5019
secondary
#8A317C
accent
#3DD0EB
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F5019

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

Preview Lab → · Contrast checker → · Palette generator →

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