#0F542D#0F542D

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

Color values

HEX#0F542D
RGBrgb(15, 84, 45)
HSLhsl(146, 70%, 19%)
HSVhsv(146, 82%, 33%)
CMYKcmyk(82.1%, 0%, 46.4%, 67.1%)
CIE-LABlab(30.95, -30.80, 17.00)
CIE-LCHlch(30.95, 35.18, 151.11°)
OKLaboklab(39.43% -0.0829 0.0421)
OKLCHoklch(39.43% 0.093 153.1)
XYZxyz(3.8406, 6.6312, 3.5597)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F542D #540F36
analogous
#14540F #0F542D #0F5450
triadic
#0F542D #2D0F54 #542D0F
tetradic
#0F542D #0F1454 #540F36 #54500F
square
#0F542D #0F1454 #540F36 #54500F
split-complementary
#0F542D #500F54 #540F14
monochromatic
#051A0E #062011 #0F542D #188849 #22BC65

Accessibility & contrast

On white

9.03
#0F542D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F542D
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F542D#FFFFFF#000000##FFFFFF
##0F542D1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f542d;
/* rgb */ color: rgb(15, 84, 45);
/* oklch */ color: oklch(39.4% 0.093 153.1);
Tailwind
colors: {
  custom: {
    50: '#5a8566',
    500: '#0f542d',
    950: '#000000',
  },
}
SCSS
$custom: #0f542d;
$custom-light: #5a8566;
$custom-dark: #000000;
JSON
{
  "hex": "#0f542d",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 45
  },
  "hsl": {
    "h": 146.087,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39431,
    "c": 0.09297,
    "h": 153.1
  },
  "luminance": 0.06632
}

Semantic roles & 50–950 ramp

primary
#0F542D
secondary
#8E3165
accent
#3B9FED
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0F542D

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

Preview Lab → · Contrast checker → · Palette generator →

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