#0F5D20#0F5D20

#0F5D20 is a dark, moderate green. Relative luminance 0.080; OKLCH L 41.9% C 0.119 H 146.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#0F5D20
RGBrgb(15, 93, 32)
HSLhsl(133, 72%, 21%)
HSVhsv(133, 84%, 36%)
CMYKcmyk(83.9%, 0%, 65.6%, 63.5%)
CIE-LABlab(34.05, -36.60, 28.07)
CIE-LCHlch(34.05, 46.13, 142.51°)
OKLaboklab(41.94% -0.0985 0.066)
OKLCHoklch(41.94% 0.119 146.2)
XYZxyz(4.3717, 8.0340, 2.6865)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D20 #5D0F4C
analogous
#255D0F #0F5D20 #0F5D47
triadic
#0F5D20 #200F5D #5D200F
tetradic
#0F5D20 #0F255D #5D0F4C #5D470F
square
#0F5D20 #0F255D #5D0F4C #5D470F
split-complementary
#0F5D20 #470F5D #5D0F25
monochromatic
#041A09 #06280E #0F5D20 #179232 #20C644

Accessibility & contrast

On white

8.06
#0F5D20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#0F5D20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5D20
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D20#FFFFFF#000000##FFFFFF
##0F5D201.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5419
Deuteranopia (green-blind)
#564E25
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5d20;
/* rgb */ color: rgb(15, 93, 32);
/* oklch */ color: oklch(41.9% 0.119 146.2);
Tailwind
colors: {
  custom: {
    50: '#5d8c5e',
    500: '#0f5d20',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d20;
$custom-light: #5d8c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d20",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 32
  },
  "hsl": {
    "h": 133.077,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41938,
    "c": 0.11859,
    "h": 146.2
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#0F5D20
secondary
#963180
accent
#39C7EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5D20

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

Preview Lab → · Contrast checker → · Palette generator →

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