#0F540E#0F540E

#0F540E is a dark, vivid green. Relative luminance 0.065; OKLCH L 39.0% C 0.120 H 142.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#0F540E
RGBrgb(15, 84, 14)
HSLhsl(119, 71%, 19%)
HSVhsv(119, 83%, 33%)
CMYKcmyk(82.1%, 0%, 83.3%, 67.1%)
CIE-LABlab(30.58, -35.27, 32.54)
CIE-LCHlch(30.58, 47.99, 137.31°)
OKLaboklab(39% -0.0958 0.073)
OKLCHoklch(39% 0.12 142.7)
XYZxyz(3.4464, 6.4735, 1.4833)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F540E #530E54
analogous
#32540E #0F540E #0E5430
triadic
#0F540E #0E0F54 #540E0F
tetradic
#0F540E #0E3254 #530E54 #54300E
square
#0F540E #0E3254 #530E54 #54300E
split-complementary
#0F540E #300E54 #540E32
monochromatic
#051A04 #062005 #0F540E #188817 #22BD1F

Accessibility & contrast

On white

9.15
#0F540E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#0F540E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F540E
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F540E#FFFFFF#000000##FFFFFF
##0F540E1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B01
Deuteranopia (green-blind)
#4E4616
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f540e;
/* rgb */ color: rgb(15, 84, 14);
/* oklch */ color: oklch(39.0% 0.120 142.7);
Tailwind
colors: {
  custom: {
    50: '#5c8552',
    500: '#0f540e',
    950: '#000000',
  },
}
SCSS
$custom: #0f540e;
$custom-light: #5c8552;
$custom-dark: #000000;
JSON
{
  "hex": "#0f540e",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 14
  },
  "hsl": {
    "h": 119.143,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38998,
    "c": 0.12045,
    "h": 142.7
  },
  "luminance": 0.06474
}

Semantic roles & 50–950 ramp

primary
#0F540E
secondary
#8D2F8E
accent
#3AEEEC
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#050B02
muted
#797C78

Preview Lab

Preview with #0F540E

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

Preview Lab → · Contrast checker → · Palette generator →

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