#0F5328#0F5328

#0F5328 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.097 H 150.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#0F5328
RGBrgb(15, 83, 40)
HSLhsl(142, 69%, 19%)
HSVhsv(142, 82%, 33%)
CMYKcmyk(81.9%, 0%, 51.8%, 67.5%)
CIE-LABlab(30.50, -31.38, 19.38)
CIE-LCHlch(30.50, 36.89, 148.30°)
OKLaboklab(39.03% -0.0844 0.0474)
OKLCHoklch(39.03% 0.097 150.7)
XYZxyz(3.6729, 6.4408, 3.0567)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5328 #530F3A
analogous
#18530F #0F5328 #0F534A
triadic
#0F5328 #280F53 #53280F
tetradic
#0F5328 #0F1853 #530F3A #534A0F
square
#0F5328 #0F1853 #530F3A #534A0F
split-complementary
#0F5328 #4A0F53 #530F18
monochromatic
#051A0C #061F0F #0F5328 #188741 #22BB5A

Accessibility & contrast

On white

9.18
#0F5328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#0F5328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5328
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5328#FFFFFF#000000##FFFFFF
##0F53281.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B25
Deuteranopia (green-blind)
#4C462B
Tritanopia (blue-blind)
#005149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5328;
/* rgb */ color: rgb(15, 83, 40);
/* oklch */ color: oklch(39.0% 0.097 150.7);
Tailwind
colors: {
  custom: {
    50: '#5a8462',
    500: '#0f5328',
    950: '#000000',
  },
}
SCSS
$custom: #0f5328;
$custom-light: #5a8462;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5328",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 40
  },
  "hsl": {
    "h": 142.059,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39027,
    "c": 0.09674,
    "h": 150.7
  },
  "luminance": 0.06441
}

Semantic roles & 50–950 ramp

primary
#0F5328
secondary
#8D316B
accent
#3CABEC
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0F5328

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

Preview Lab → · Contrast checker → · Palette generator →

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