#0F541B#0F541B

#0F541B is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.1% C 0.111 H 145.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#0F541B
RGBrgb(15, 84, 27)
HSLhsl(130, 70%, 19%)
HSVhsv(130, 82%, 33%)
CMYKcmyk(82.1%, 0%, 67.9%, 67.1%)
CIE-LABlab(30.69, -33.88, 26.80)
CIE-LCHlch(30.69, 43.20, 141.66°)
OKLaboklab(39.13% -0.0914 0.0627)
OKLCHoklch(39.13% 0.111 145.5)
XYZxyz(3.5649, 6.5209, 2.1075)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F541B #540F48
analogous
#26540F #0F541B #0F543E
triadic
#0F541B #1B0F54 #541B0F
tetradic
#0F541B #0F2654 #540F48 #543E0F
square
#0F541B #0F2654 #540F48 #543E0F
split-complementary
#0F541B #3E0F54 #540F26
monochromatic
#051A08 #06200A #0F541B #18882C #22BC3C

Accessibility & contrast

On white

9.11
#0F541B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#0F541B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F541B
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F541B#FFFFFF#000000##FFFFFF
##0F541B1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f541b;
/* rgb */ color: rgb(15, 84, 27);
/* oklch */ color: oklch(39.1% 0.111 145.5);
Tailwind
colors: {
  custom: {
    50: '#5b855a',
    500: '#0f541b',
    950: '#000000',
  },
}
SCSS
$custom: #0f541b;
$custom-light: #5b855a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f541b",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 130.435,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39129,
    "c": 0.11083,
    "h": 145.5
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

primary
#0F541B
secondary
#8E317E
accent
#3BCEED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F541B

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

Preview Lab → · Contrast checker → · Palette generator →

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