#0F5C20#0F5C20

#0F5C20 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.6% C 0.117 H 146.3°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#0F5C20
RGBrgb(15, 92, 32)
HSLhsl(133, 72%, 21%)
HSVhsv(133, 84%, 36%)
CMYKcmyk(83.7%, 0%, 65.2%, 63.9%)
CIE-LABlab(33.69, -36.23, 27.66)
CIE-LCHlch(33.69, 45.58, 142.64°)
OKLaboklab(41.64% -0.0975 0.0651)
OKLCHoklch(41.64% 0.117 146.3)
XYZxyz(4.2845, 7.8596, 2.6575)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C20 #5C0F4B
analogous
#245C0F #0F5C20 #0F5C46
triadic
#0F5C20 #200F5C #5C200F
tetradic
#0F5C20 #0F245C #5C0F4B #5C460F
square
#0F5C20 #0F245C #5C0F4B #5C460F
split-complementary
#0F5C20 #460F5C #5C0F24
monochromatic
#041A09 #06270E #0F5C20 #189132 #20C545

Accessibility & contrast

On white

8.16
#0F5C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#0F5C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5C20
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5C20#FFFFFF#000000##FFFFFF
##0F5C201.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D531A
Deuteranopia (green-blind)
#554D25
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5c20;
/* rgb */ color: rgb(15, 92, 32);
/* oklch */ color: oklch(41.6% 0.117 146.3);
Tailwind
colors: {
  custom: {
    50: '#5d8b5e',
    500: '#0f5c20',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c20;
$custom-light: #5d8b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c20",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 32
  },
  "hsl": {
    "h": 133.247,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41635,
    "c": 0.11725,
    "h": 146.3
  },
  "luminance": 0.0786
}

Semantic roles & 50–950 ramp

primary
#0F5C20
secondary
#95317F
accent
#39C7EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5C20

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

Preview Lab → · Contrast checker → · Palette generator →

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