#0F5224#0F5224

#0F5224 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.6% C 0.099 H 149.0°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#0F5224
RGBrgb(15, 82, 36)
HSLhsl(139, 69%, 19%)
HSVhsv(139, 82%, 32%)
CMYKcmyk(81.7%, 0%, 56.1%, 67.8%)
CIE-LABlab(30.07, -31.71, 21.16)
CIE-LCHlch(30.07, 38.12, 146.28°)
OKLaboklab(38.65% -0.0852 0.0512)
OKLCHoklch(38.65% 0.099 149)
XYZxyz(3.5324, 6.2631, 2.6915)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5224 #520F3D
analogous
#1C520F #0F5224 #0F5246
triadic
#0F5224 #240F52 #52240F
tetradic
#0F5224 #0F1C52 #520F3D #52460F
square
#0F5224 #0F1C52 #520F3D #52460F
split-complementary
#0F5224 #460F52 #520F1C
monochromatic
#051A0B #061E0D #0F5224 #18863B #22B951

Accessibility & contrast

On white

9.32
#0F5224 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#0F5224 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5224
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5224#FFFFFF#000000##FFFFFF
##0F52241.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A20
Deuteranopia (green-blind)
#4B4527
Tritanopia (blue-blind)
#005047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5224;
/* rgb */ color: rgb(15, 82, 36);
/* oklch */ color: oklch(38.6% 0.099 149.0);
Tailwind
colors: {
  custom: {
    50: '#5a8360',
    500: '#0f5224',
    950: '#000000',
  },
}
SCSS
$custom: #0f5224;
$custom-light: #5a8360;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5224",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 36
  },
  "hsl": {
    "h": 138.806,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3865,
    "c": 0.09941,
    "h": 149
  },
  "luminance": 0.06264
}

Semantic roles & 50–950 ramp

primary
#0F5224
secondary
#8C316F
accent
#3CB5EC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B05
muted
#797C79

Preview Lab

Preview with #0F5224

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

Preview Lab → · Contrast checker → · Palette generator →

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