#0F542B#0F542B

#0F542B is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.095 H 152.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#0F542B
RGBrgb(15, 84, 43)
HSLhsl(144, 70%, 19%)
HSVhsv(144, 82%, 33%)
CMYKcmyk(82.1%, 0%, 48.8%, 67.1%)
CIE-LABlab(30.92, -31.21, 18.15)
CIE-LCHlch(30.92, 36.11, 149.82°)
OKLaboklab(39.39% -0.0839 0.0447)
OKLCHoklch(39.39% 0.095 152)
XYZxyz(3.8030, 6.6162, 3.3616)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F542B #540F38
analogous
#16540F #0F542B #0F544E
triadic
#0F542B #2B0F54 #542B0F
tetradic
#0F542B #0F1654 #540F38 #544E0F
square
#0F542B #0F1654 #540F38 #544E0F
split-complementary
#0F542B #4E0F54 #540F16
monochromatic
#051A0D #062010 #0F542B #188846 #22BC60

Accessibility & contrast

On white

9.04
#0F542B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#0F542B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F542B
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F542B#FFFFFF#000000##FFFFFF
##0F542B1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C28
Deuteranopia (green-blind)
#4C462E
Tritanopia (blue-blind)
#00534A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f542b;
/* rgb */ color: rgb(15, 84, 43);
/* oklch */ color: oklch(39.4% 0.095 152.0);
Tailwind
colors: {
  custom: {
    50: '#5a8565',
    500: '#0f542b',
    950: '#000000',
  },
}
SCSS
$custom: #0f542b;
$custom-light: #5a8565;
$custom-dark: #000000;
JSON
{
  "hex": "#0f542b",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 43
  },
  "hsl": {
    "h": 144.348,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3939,
    "c": 0.09508,
    "h": 152
  },
  "luminance": 0.06617
}

Semantic roles & 50–950 ramp

primary
#0F542B
secondary
#8E3168
accent
#3BA5ED
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #0F542B

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

Preview Lab → · Contrast checker → · Palette generator →

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