#0F5621#0F5621

#0F5621 is a dark, moderate green. Relative luminance 0.069; OKLCH L 39.8% C 0.108 H 147.3°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#0F5621
RGBrgb(15, 86, 33)
HSLhsl(135, 70%, 20%)
HSVhsv(135, 83%, 34%)
CMYKcmyk(82.6%, 0%, 61.6%, 66.3%)
CIE-LABlab(31.50, -33.79, 24.57)
CIE-LCHlch(31.50, 41.78, 143.97°)
OKLaboklab(39.82% -0.0909 0.0585)
OKLCHoklch(39.82% 0.108 147.3)
XYZxyz(3.7990, 6.8665, 2.5637)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5621 #560F44
analogous
#21560F #0F5621 #0F5644
triadic
#0F5621 #210F56 #56210F
tetradic
#0F5621 #0F2156 #560F44 #56440F
square
#0F5621 #0F2156 #560F44 #56440F
split-complementary
#0F5621 #440F56 #560F21
monochromatic
#051A0A #06220D #0F5621 #188A35 #21BE49

Accessibility & contrast

On white

8.85
#0F5621 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#0F5621 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5621
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5621#FFFFFF#000000##FFFFFF
##0F56211.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E1C
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0f5621;
/* rgb */ color: rgb(15, 86, 33);
/* oklch */ color: oklch(39.8% 0.108 147.3);
Tailwind
colors: {
  custom: {
    50: '#5b865e',
    500: '#0f5621',
    950: '#000000',
  },
}
SCSS
$custom: #0f5621;
$custom-light: #5b865e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5621",
  "rgb": {
    "r": 15,
    "g": 86,
    "b": 33
  },
  "hsl": {
    "h": 135.211,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39824,
    "c": 0.10809,
    "h": 147.3
  },
  "luminance": 0.06867
}

Semantic roles & 50–950 ramp

primary
#0F5621
secondary
#903178
accent
#3BC0ED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F5621

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

Preview Lab → · Contrast checker → · Palette generator →

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