#0F541F#0F541F

#0F541F is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.107 H 146.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#0F541F
RGBrgb(15, 84, 31)
HSLhsl(134, 70%, 19%)
HSVhsv(134, 82%, 33%)
CMYKcmyk(82.1%, 0%, 63.1%, 67.1%)
CIE-LABlab(30.74, -33.32, 24.76)
CIE-LCHlch(30.74, 41.51, 143.39°)
OKLaboklab(39.18% -0.0897 0.0587)
OKLCHoklch(39.18% 0.107 146.8)
XYZxyz(3.6144, 6.5407, 2.3681)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F541F #540F44
analogous
#22540F #0F541F #0F5442
triadic
#0F541F #1F0F54 #541F0F
tetradic
#0F541F #0F2254 #540F44 #54420F
square
#0F541F #0F2254 #540F44 #54420F
split-complementary
#0F541F #420F54 #540F22
monochromatic
#051A0A #06200C #0F541F #188832 #22BC45

Accessibility & contrast

On white

9.10
#0F541F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#0F541F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F541F
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F541F#FFFFFF#000000##FFFFFF
##0F541F1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1A
Deuteranopia (green-blind)
#4D4623
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f541f;
/* rgb */ color: rgb(15, 84, 31);
/* oklch */ color: oklch(39.2% 0.107 146.8);
Tailwind
colors: {
  custom: {
    50: '#5b855c',
    500: '#0f541f',
    950: '#000000',
  },
}
SCSS
$custom: #0f541f;
$custom-light: #5b855c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f541f",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 31
  },
  "hsl": {
    "h": 133.913,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39183,
    "c": 0.10719,
    "h": 146.8
  },
  "luminance": 0.06541
}

Semantic roles & 50–950 ramp

primary
#0F541F
secondary
#8E3178
accent
#3BC3ED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F541F

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

Preview Lab → · Contrast checker → · Palette generator →

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