#0F541C#0F541C

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

Color values

HEX#0F541C
RGBrgb(15, 84, 28)
HSLhsl(131, 70%, 19%)
HSVhsv(131, 82%, 33%)
CMYKcmyk(82.1%, 0%, 66.7%, 67.1%)
CIE-LABlab(30.70, -33.75, 26.30)
CIE-LCHlch(30.70, 42.78, 142.07°)
OKLaboklab(39.14% -0.091 0.0617)
OKLCHoklch(39.14% 0.11 145.8)
XYZxyz(3.5767, 6.5256, 2.1695)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F541C #540F47
analogous
#25540F #0F541C #0F543F
triadic
#0F541C #1C0F54 #541C0F
tetradic
#0F541C #0F2554 #540F47 #543F0F
square
#0F541C #0F2554 #540F47 #543F0F
split-complementary
#0F541C #3F0F54 #540F25
monochromatic
#051A09 #06200B #0F541C #18882D #22BC3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F541C#FFFFFF#000000##FFFFFF
##0F541C1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f541c;
/* rgb */ color: rgb(15, 84, 28);
/* oklch */ color: oklch(39.1% 0.110 145.8);
Tailwind
colors: {
  custom: {
    50: '#5b855a',
    500: '#0f541c',
    950: '#000000',
  },
}
SCSS
$custom: #0f541c;
$custom-light: #5b855a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f541c",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 28
  },
  "hsl": {
    "h": 131.304,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39142,
    "c": 0.10994,
    "h": 145.8
  },
  "luminance": 0.06526
}

Semantic roles & 50–950 ramp

primary
#0F541C
secondary
#8E317C
accent
#3BCBED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F541C

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

Preview Lab → · Contrast checker → · Palette generator →

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