#0F5427#0F5427

#0F5427 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.3% C 0.099 H 150.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#0F5427
RGBrgb(15, 84, 39)
HSLhsl(141, 70%, 19%)
HSVhsv(141, 82%, 33%)
CMYKcmyk(82.1%, 0%, 53.6%, 67.1%)
CIE-LABlab(30.85, -31.98, 20.41)
CIE-LCHlch(30.85, 37.94, 147.45°)
OKLaboklab(39.31% -0.0859 0.0496)
OKLCHoklch(39.31% 0.099 150)
XYZxyz(3.7332, 6.5882, 2.9940)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5427 #540F3C
analogous
#19540F #0F5427 #0F544A
triadic
#0F5427 #270F54 #54270F
tetradic
#0F5427 #0F1954 #540F3C #544A0F
square
#0F5427 #0F1954 #540F3C #544A0F
split-complementary
#0F5427 #4A0F54 #540F19
monochromatic
#051A0C #06200F #0F5427 #18883F #22BC57

Accessibility & contrast

On white

9.06
#0F5427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5427
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5427#FFFFFF#000000##FFFFFF
##0F54271.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C23
Deuteranopia (green-blind)
#4D462A
Tritanopia (blue-blind)
#005249
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f5427;
/* rgb */ color: rgb(15, 84, 39);
/* oklch */ color: oklch(39.3% 0.099 150.0);
Tailwind
colors: {
  custom: {
    50: '#5a8562',
    500: '#0f5427',
    950: '#000000',
  },
}
SCSS
$custom: #0f5427;
$custom-light: #5a8562;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5427",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 39
  },
  "hsl": {
    "h": 140.87,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39313,
    "c": 0.09925,
    "h": 150
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#0F5427
secondary
#8E316E
accent
#3BAFED
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0F5427

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

Preview Lab → · Contrast checker → · Palette generator →

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