#0F511E#0F511E

#0F511E is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.2% C 0.104 H 146.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#0F511E
RGBrgb(15, 81, 30)
HSLhsl(134, 69%, 19%)
HSVhsv(134, 81%, 32%)
CMYKcmyk(81.5%, 0%, 63%, 68.2%)
CIE-LABlab(29.61, -32.29, 23.97)
CIE-LCHlch(29.61, 40.22, 143.41°)
OKLaboklab(38.25% -0.0869 0.0569)
OKLCHoklch(38.25% 0.104 146.8)
XYZxyz(3.3735, 6.0798, 2.2238)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F511E #510F42
analogous
#21510F #0F511E #0F513F
triadic
#0F511E #1E0F51 #511E0F
tetradic
#0F511E #0F2151 #510F42 #513F0F
square
#0F511E #0F2151 #510F42 #513F0F
split-complementary
#0F511E #3F0F51 #510F21
monochromatic
#051A0A #051D0B #0F511E #198531 #22B844

Accessibility & contrast

On white

9.48
#0F511E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#0F511E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F511E
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F511E#FFFFFF#000000##FFFFFF
##0F511E1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524919
Deuteranopia (green-blind)
#4B4422
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f511e;
/* rgb */ color: rgb(15, 81, 30);
/* oklch */ color: oklch(38.2% 0.104 146.8);
Tailwind
colors: {
  custom: {
    50: '#5a835b',
    500: '#0f511e',
    950: '#000000',
  },
}
SCSS
$custom: #0f511e;
$custom-light: #5a835b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f511e",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 30
  },
  "hsl": {
    "h": 133.636,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38247,
    "c": 0.10391,
    "h": 146.8
  },
  "luminance": 0.0608
}

Semantic roles & 50–950 ramp

primary
#0F511E
secondary
#8B3177
accent
#3CC4EC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F511E

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

Preview Lab → · Contrast checker → · Palette generator →

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