#0F5528#0F5528

#0F5528 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.6% C 0.100 H 150.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#0F5528
RGBrgb(15, 85, 40)
HSLhsl(141, 70%, 20%)
HSVhsv(141, 82%, 33%)
CMYKcmyk(82.4%, 0%, 52.9%, 66.7%)
CIE-LABlab(31.23, -32.20, 20.31)
CIE-LCHlch(31.23, 38.07, 147.76°)
OKLaboklab(39.64% -0.0865 0.0495)
OKLCHoklch(39.64% 0.1 150.3)
XYZxyz(3.8282, 6.7513, 3.1084)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5528 #550F3C
analogous
#19550F #0F5528 #0F554B
triadic
#0F5528 #280F55 #55280F
tetradic
#0F5528 #0F1955 #550F3C #554B0F
square
#0F5528 #0F1955 #550F3C #554B0F
split-complementary
#0F5528 #4B0F55 #550F19
monochromatic
#051A0C #062110 #0F5528 #188940 #21BD59

Accessibility & contrast

On white

8.93
#0F5528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#0F5528 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5528
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5528#FFFFFF#000000##FFFFFF
##0F55281.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D24
Deuteranopia (green-blind)
#4D472B
Tritanopia (blue-blind)
#00534A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f5528;
/* rgb */ color: rgb(15, 85, 40);
/* oklch */ color: oklch(39.6% 0.100 150.3);
Tailwind
colors: {
  custom: {
    50: '#5a8663',
    500: '#0f5528',
    950: '#000000',
  },
}
SCSS
$custom: #0f5528;
$custom-light: #5a8663;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5528",
  "rgb": {
    "r": 15,
    "g": 85,
    "b": 40
  },
  "hsl": {
    "h": 141.429,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39636,
    "c": 0.09969,
    "h": 150.3
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

primary
#0F5528
secondary
#8F316D
accent
#3BADED
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0F5528

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

Preview Lab → · Contrast checker → · Palette generator →

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