#0F542F#0F542F

#0F542F is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.5% C 0.091 H 154.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#0F542F
RGBrgb(15, 84, 47)
HSLhsl(148, 70%, 19%)
HSVhsv(148, 82%, 33%)
CMYKcmyk(82.1%, 0%, 44%, 67.1%)
CIE-LABlab(30.99, -30.38, 15.85)
CIE-LCHlch(30.99, 34.26, 152.45°)
OKLaboklab(39.47% -0.0819 0.0394)
OKLCHoklch(39.47% 0.091 154.3)
XYZxyz(3.8801, 6.6470, 3.7673)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F542F #540F34
analogous
#12540F #0F542F #0F5452
triadic
#0F542F #2F0F54 #542F0F
tetradic
#0F542F #0F1254 #540F34 #54520F
square
#0F542F #0F1254 #540F34 #54520F
split-complementary
#0F542F #520F54 #540F12
monochromatic
#051A0F #062012 #0F542F #18884C #22BC69

Accessibility & contrast

On white

9.02
#0F542F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#0F542F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F542F
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F542F#FFFFFF#000000##FFFFFF
##0F542F1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C2C
Deuteranopia (green-blind)
#4C4731
Tritanopia (blue-blind)
#00534B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f542f;
/* rgb */ color: rgb(15, 84, 47);
/* oklch */ color: oklch(39.5% 0.091 154.3);
Tailwind
colors: {
  custom: {
    50: '#5a8568',
    500: '#0f542f',
    950: '#000000',
  },
}
SCSS
$custom: #0f542f;
$custom-light: #5a8568;
$custom-dark: #000000;
JSON
{
  "hex": "#0f542f",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 47
  },
  "hsl": {
    "h": 147.826,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39473,
    "c": 0.09084,
    "h": 154.3
  },
  "luminance": 0.06647
}

Semantic roles & 50–950 ramp

primary
#0F542F
secondary
#8E3163
accent
#3B9AED
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0F542F

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

Preview Lab → · Contrast checker → · Palette generator →

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