#0F5221#0F5221

#0F5221 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.102 H 147.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#0F5221
RGBrgb(15, 82, 33)
HSLhsl(136, 69%, 19%)
HSVhsv(136, 82%, 32%)
CMYKcmyk(81.7%, 0%, 59.8%, 67.8%)
CIE-LABlab(30.02, -32.21, 22.81)
CIE-LCHlch(30.02, 39.47, 144.70°)
OKLaboklab(38.6% -0.0867 0.0546)
OKLCHoklch(38.6% 0.102 147.8)
XYZxyz(3.4885, 6.2455, 2.4602)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5221 #520F40
analogous
#1F520F #0F5221 #0F5243
triadic
#0F5221 #210F52 #52210F
tetradic
#0F5221 #0F1F52 #520F40 #52430F
square
#0F5221 #0F1F52 #520F40 #52430F
split-complementary
#0F5221 #430F52 #520F1F
monochromatic
#051A0A #061E0C #0F5221 #188636 #22B94B

Accessibility & contrast

On white

9.34
#0F5221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5221
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5221#FFFFFF#000000##FFFFFF
##0F52211.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5221;
/* rgb */ color: rgb(15, 82, 33);
/* oklch */ color: oklch(38.6% 0.102 147.8);
Tailwind
colors: {
  custom: {
    50: '#5a835e',
    500: '#0f5221',
    950: '#000000',
  },
}
SCSS
$custom: #0f5221;
$custom-light: #5a835e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5221",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 33
  },
  "hsl": {
    "h": 136.119,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.386,
    "c": 0.10243,
    "h": 147.8
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#0F5221
secondary
#8C3174
accent
#3CBDEC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F5221

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

Preview Lab → · Contrast checker → · Palette generator →

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