#0F5211#0F5211

#0F5211 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.4% C 0.116 H 143.2°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#0F5211
RGBrgb(15, 82, 17)
HSLhsl(122, 69%, 19%)
HSVhsv(122, 82%, 32%)
CMYKcmyk(81.7%, 0%, 79.3%, 67.8%)
CIE-LABlab(29.85, -34.27, 30.61)
CIE-LCHlch(29.85, 45.95, 138.23°)
OKLaboklab(38.4% -0.0929 0.0695)
OKLCHoklch(38.4% 0.116 143.2)
XYZxyz(3.3153, 6.1762, 1.5476)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5211 #520F50
analogous
#2F520F #0F5211 #0F5233
triadic
#0F5211 #110F52 #52110F
tetradic
#0F5211 #0F2F52 #520F50 #52330F
square
#0F5211 #0F2F52 #520F50 #52330F
split-complementary
#0F5211 #330F52 #520F2F
monochromatic
#051A05 #061E06 #0F5211 #18861C #22B926

Accessibility & contrast

On white

9.39
#0F5211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#0F5211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5211
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5211#FFFFFF#000000##FFFFFF
##0F52111.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544906
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f5211;
/* rgb */ color: rgb(15, 82, 17);
/* oklch */ color: oklch(38.4% 0.116 143.2);
Tailwind
colors: {
  custom: {
    50: '#5b8354',
    500: '#0f5211',
    950: '#000000',
  },
}
SCSS
$custom: #0f5211;
$custom-light: #5b8354;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5211",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 121.791,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38403,
    "c": 0.11601,
    "h": 143.2
  },
  "luminance": 0.06177
}

Semantic roles & 50–950 ramp

primary
#0F5211
secondary
#8C3189
accent
#3CE7EC
background
#F5F8F4
surface
#E9EFE8
border
#C5CAC4
text
#040B03
muted
#797C78

Preview Lab

Preview with #0F5211

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

Preview Lab → · Contrast checker → · Palette generator →

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