#0F5220#0F5220

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

Color values

HEX#0F5220
RGBrgb(15, 82, 32)
HSLhsl(135, 69%, 19%)
HSVhsv(135, 82%, 32%)
CMYKcmyk(81.7%, 0%, 61%, 67.8%)
CIE-LABlab(30.01, -32.37, 23.35)
CIE-LCHlch(30.01, 39.92, 144.20°)
OKLaboklab(38.58% -0.0871 0.0557)
OKLCHoklch(38.58% 0.103 147.4)
XYZxyz(3.4747, 6.2400, 2.3875)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5220 #520F41
analogous
#20520F #0F5220 #0F5242
triadic
#0F5220 #200F52 #52200F
tetradic
#0F5220 #0F2052 #520F41 #52420F
square
#0F5220 #0F2052 #520F41 #52420F
split-complementary
#0F5220 #420F52 #520F20
monochromatic
#051A0A #061E0C #0F5220 #188634 #22B948

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5220#FFFFFF#000000##FFFFFF
##0F52201.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)
#534A1B
Deuteranopia (green-blind)
#4B4524
Tritanopia (blue-blind)
#005047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5220;
/* rgb */ color: rgb(15, 82, 32);
/* oklch */ color: oklch(38.6% 0.103 147.4);
Tailwind
colors: {
  custom: {
    50: '#5a835d',
    500: '#0f5220',
    950: '#000000',
  },
}
SCSS
$custom: #0f5220;
$custom-light: #5a835d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5220",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 32
  },
  "hsl": {
    "h": 135.224,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38584,
    "c": 0.10341,
    "h": 147.4
  },
  "luminance": 0.0624
}

Semantic roles & 50–950 ramp

primary
#0F5220
secondary
#8C3175
accent
#3CBFEC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F5220

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

Preview Lab → · Contrast checker → · Palette generator →

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