#0F5111#0F5111

#0F5111 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.115 H 143.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#0F5111
RGBrgb(15, 81, 17)
HSLhsl(122, 69%, 19%)
HSVhsv(122, 81%, 32%)
CMYKcmyk(81.5%, 0%, 79%, 68.2%)
CIE-LABlab(29.48, -33.90, 30.23)
CIE-LCHlch(29.48, 45.42, 138.28°)
OKLaboklab(38.09% -0.0919 0.0687)
OKLCHoklch(38.09% 0.115 143.2)
XYZxyz(3.2404, 6.0265, 1.5227)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5111 #510F4F
analogous
#2E510F #0F5111 #0F5132
triadic
#0F5111 #110F51 #51110F
tetradic
#0F5111 #0F2E51 #510F4F #51320F
square
#0F5111 #0F2E51 #510F4F #51320F
split-complementary
#0F5111 #320F51 #510F2E
monochromatic
#051A05 #051D06 #0F5111 #19851C #22B827

Accessibility & contrast

On white

9.52
#0F5111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#0F5111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5111
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5111#FFFFFF#000000##FFFFFF
##0F51111.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5111;
/* rgb */ color: rgb(15, 81, 17);
/* oklch */ color: oklch(38.1% 0.115 143.2);
Tailwind
colors: {
  custom: {
    50: '#5b8353',
    500: '#0f5111',
    950: '#000000',
  },
}
SCSS
$custom: #0f5111;
$custom-light: #5b8353;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5111",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 121.818,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38093,
    "c": 0.11473,
    "h": 143.2
  },
  "luminance": 0.06027
}

Semantic roles & 50–950 ramp

primary
#0F5111
secondary
#8B3188
accent
#3CE6EC
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F5111

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

Preview Lab → · Contrast checker → · Palette generator →

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