#0F542A#0F542A

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

Color values

HEX#0F542A
RGBrgb(15, 84, 42)
HSLhsl(143, 70%, 19%)
HSVhsv(143, 82%, 33%)
CMYKcmyk(82.1%, 0%, 50%, 67.1%)
CIE-LABlab(30.90, -31.41, 18.72)
CIE-LCHlch(30.90, 36.56, 149.21°)
OKLaboklab(39.37% -0.0844 0.0459)
OKLCHoklch(39.37% 0.096 151.5)
XYZxyz(3.7849, 6.6089, 3.2662)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F542A #540F39
analogous
#17540F #0F542A #0F544D
triadic
#0F542A #2A0F54 #542A0F
tetradic
#0F542A #0F1754 #540F39 #544D0F
square
#0F542A #0F1754 #540F39 #544D0F
split-complementary
#0F542A #4D0F54 #540F17
monochromatic
#051A0D #062010 #0F542A #188844 #22BC5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F542A#FFFFFF#000000##FFFFFF
##0F542A1.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)
#544C27
Deuteranopia (green-blind)
#4C462D
Tritanopia (blue-blind)
#00534A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f542a;
/* rgb */ color: rgb(15, 84, 42);
/* oklch */ color: oklch(39.4% 0.096 151.5);
Tailwind
colors: {
  custom: {
    50: '#5a8564',
    500: '#0f542a',
    950: '#000000',
  },
}
SCSS
$custom: #0f542a;
$custom-light: #5a8564;
$custom-dark: #000000;
JSON
{
  "hex": "#0f542a",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 42
  },
  "hsl": {
    "h": 143.478,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3937,
    "c": 0.09613,
    "h": 151.5
  },
  "luminance": 0.06609
}

Semantic roles & 50–950 ramp

primary
#0F542A
secondary
#8E316A
accent
#3BA7ED
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #0F542A

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

Preview Lab → · Contrast checker → · Palette generator →

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