#0F5222#0F5222

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

Color values

HEX#0F5222
RGBrgb(15, 82, 34)
HSLhsl(137, 69%, 19%)
HSVhsv(137, 82%, 32%)
CMYKcmyk(81.7%, 0%, 58.5%, 67.8%)
CIE-LABlab(30.04, -32.05, 22.27)
CIE-LCHlch(30.04, 39.02, 145.21°)
OKLaboklab(38.62% -0.0862 0.0535)
OKLCHoklch(38.62% 0.101 148.2)
XYZxyz(3.5028, 6.2512, 2.5351)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5222 #520F3F
analogous
#1E520F #0F5222 #0F5244
triadic
#0F5222 #220F52 #52220F
tetradic
#0F5222 #0F1E52 #520F3F #52440F
square
#0F5222 #0F1E52 #520F3F #52440F
split-complementary
#0F5222 #440F52 #520F1E
monochromatic
#051A0B #061E0D #0F5222 #188637 #22B94D

Accessibility & contrast

On white

9.33
#0F5222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5222
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5222#FFFFFF#000000##FFFFFF
##0F52221.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5222;
/* rgb */ color: rgb(15, 82, 34);
/* oklch */ color: oklch(38.6% 0.101 148.2);
Tailwind
colors: {
  custom: {
    50: '#5a835e',
    500: '#0f5222',
    950: '#000000',
  },
}
SCSS
$custom: #0f5222;
$custom-light: #5a835e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5222",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 34
  },
  "hsl": {
    "h": 137.015,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38616,
    "c": 0.10143,
    "h": 148.2
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

primary
#0F5222
secondary
#8C3172
accent
#3CBAEC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F5222

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

Preview Lab → · Contrast checker → · Palette generator →

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