#0F5921#0F5921

#0F5921 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.7% C 0.112 H 146.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#0F5921
RGBrgb(15, 89, 33)
HSLhsl(135, 71%, 20%)
HSVhsv(135, 83%, 35%)
CMYKcmyk(83.1%, 0%, 62.9%, 65.1%)
CIE-LABlab(32.60, -34.95, 25.87)
CIE-LCHlch(32.60, 43.48, 143.49°)
OKLaboklab(40.74% -0.094 0.0613)
OKLCHoklch(40.74% 0.112 146.9)
XYZxyz(4.0436, 7.3556, 2.6452)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5921 #590F47
analogous
#22590F #0F5921 #0F5946
triadic
#0F5921 #210F59 #59210F
tetradic
#0F5921 #0F2259 #590F47 #59460F
square
#0F5921 #0F2259 #590F47 #59460F
split-complementary
#0F5921 #460F59 #590F22
monochromatic
#041A0A #06250E #0F5921 #188D34 #21C248

Accessibility & contrast

On white

8.50
#0F5921 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#0F5921 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5921
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5921#FFFFFF#000000##FFFFFF
##0F59211.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A501B
Deuteranopia (green-blind)
#524A26
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0f5921;
/* rgb */ color: rgb(15, 89, 33);
/* oklch */ color: oklch(40.7% 0.112 146.9);
Tailwind
colors: {
  custom: {
    50: '#5c895e',
    500: '#0f5921',
    950: '#000000',
  },
}
SCSS
$custom: #0f5921;
$custom-light: #5c895e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5921",
  "rgb": {
    "r": 15,
    "g": 89,
    "b": 33
  },
  "hsl": {
    "h": 134.595,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40738,
    "c": 0.11226,
    "h": 146.9
  },
  "luminance": 0.07356
}

Semantic roles & 50–950 ramp

primary
#0F5921
secondary
#93317B
accent
#3AC2EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #0F5921

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

Preview Lab → · Contrast checker → · Palette generator →

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