#0F542E#0F542E

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

Color values

HEX#0F542E
RGBrgb(15, 84, 46)
HSLhsl(147, 70%, 19%)
HSVhsv(147, 82%, 33%)
CMYKcmyk(82.1%, 0%, 45.2%, 67.1%)
CIE-LABlab(30.97, -30.59, 16.42)
CIE-LCHlch(30.97, 34.72, 151.77°)
OKLaboklab(39.45% -0.0824 0.0407)
OKLCHoklch(39.45% 0.092 153.7)
XYZxyz(3.8601, 6.6390, 3.6623)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F542E #540F35
analogous
#12540F #0F542E #0F5451
triadic
#0F542E #2E0F54 #542E0F
tetradic
#0F542E #0F1254 #540F35 #54510F
square
#0F542E #0F1254 #540F35 #54510F
split-complementary
#0F542E #510F54 #540F12
monochromatic
#051A0E #062012 #0F542E #18884A #22BC67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F542E#FFFFFF#000000##FFFFFF
##0F542E1.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)
#544C2B
Deuteranopia (green-blind)
#4C4731
Tritanopia (blue-blind)
#00534B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f542e;
/* rgb */ color: rgb(15, 84, 46);
/* oklch */ color: oklch(39.5% 0.092 153.7);
Tailwind
colors: {
  custom: {
    50: '#5a8567',
    500: '#0f542e',
    950: '#000000',
  },
}
SCSS
$custom: #0f542e;
$custom-light: #5a8567;
$custom-dark: #000000;
JSON
{
  "hex": "#0f542e",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 146.957,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39452,
    "c": 0.0919,
    "h": 153.7
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#0F542E
secondary
#8E3164
accent
#3B9DED
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0F542E

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

Preview Lab → · Contrast checker → · Palette generator →

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