#0F5011#0F5011

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

Color values

HEX#0F5011
RGBrgb(15, 80, 17)
HSLhsl(122, 68%, 19%)
HSVhsv(122, 81%, 31%)
CMYKcmyk(81.3%, 0%, 78.8%, 68.6%)
CIE-LABlab(29.11, -33.53, 29.84)
CIE-LCHlch(29.11, 44.89, 138.33°)
OKLaboklab(37.78% -0.0909 0.0678)
OKLCHoklch(37.78% 0.113 143.3)
XYZxyz(3.1666, 5.8790, 1.4981)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5011 #500F4E
analogous
#2D500F #0F5011 #0F5031
triadic
#0F5011 #110F50 #50110F
tetradic
#0F5011 #0F2D50 #500F4E #50310F
square
#0F5011 #0F2D50 #500F4E #50310F
split-complementary
#0F5011 #310F50 #500F2D
monochromatic
#051A05 #051C06 #0F5011 #19841C #22B727

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5011#FFFFFF#000000##FFFFFF
##0F50111.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)
#524807
Deuteranopia (green-blind)
#4B4317
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f5011;
/* rgb */ color: rgb(15, 80, 17);
/* oklch */ color: oklch(37.8% 0.113 143.3);
Tailwind
colors: {
  custom: {
    50: '#5a8253',
    500: '#0f5011',
    950: '#000000',
  },
}
SCSS
$custom: #0f5011;
$custom-light: #5a8253;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5011",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 17
  },
  "hsl": {
    "h": 121.846,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37782,
    "c": 0.11344,
    "h": 143.3
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#0F5011
secondary
#8A3187
accent
#3DE6EB
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F5011

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

Preview Lab → · Contrast checker → · Palette generator →

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