#0F5013#0F5013

#0F5013 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.8% C 0.112 H 143.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#0F5013
RGBrgb(15, 80, 19)
HSLhsl(124, 68%, 19%)
HSVhsv(124, 81%, 31%)
CMYKcmyk(81.3%, 0%, 76.3%, 68.6%)
CIE-LABlab(29.12, -33.33, 28.97)
CIE-LCHlch(29.12, 44.16, 139.00°)
OKLaboklab(37.8% -0.0902 0.0663)
OKLCHoklch(37.8% 0.112 143.7)
XYZxyz(3.1830, 5.8855, 1.5842)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5013 #500F4C
analogous
#2B500F #0F5013 #0F5033
triadic
#0F5013 #130F50 #50130F
tetradic
#0F5013 #0F2B50 #500F4C #50330F
square
#0F5013 #0F2B50 #500F4C #50330F
split-complementary
#0F5013 #330F50 #500F2B
monochromatic
#051A06 #051C07 #0F5013 #19841F #22B72B

Accessibility & contrast

On white

9.65
#0F5013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5013
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5013#FFFFFF#000000##FFFFFF
##0F50131.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480A
Deuteranopia (green-blind)
#4A4319
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f5013;
/* rgb */ color: rgb(15, 80, 19);
/* oklch */ color: oklch(37.8% 0.112 143.7);
Tailwind
colors: {
  custom: {
    50: '#5a8254',
    500: '#0f5013',
    950: '#000000',
  },
}
SCSS
$custom: #0f5013;
$custom-light: #5a8254;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5013",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 123.692,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37801,
    "c": 0.11199,
    "h": 143.7
  },
  "luminance": 0.05886
}

Semantic roles & 50–950 ramp

primary
#0F5013
secondary
#8A3185
accent
#3DE1EB
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F5013

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

Preview Lab → · Contrast checker → · Palette generator →

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