#0F5B20#0F5B20

#0F5B20 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.3% C 0.116 H 146.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#0F5B20
RGBrgb(15, 91, 32)
HSLhsl(133, 72%, 21%)
HSVhsv(133, 84%, 36%)
CMYKcmyk(83.5%, 0%, 64.8%, 64.3%)
CIE-LABlab(33.32, -35.85, 27.24)
CIE-LCHlch(33.32, 45.02, 142.78°)
OKLaboklab(41.33% -0.0965 0.0642)
OKLCHoklch(41.33% 0.116 146.4)
XYZxyz(4.1985, 7.6875, 2.6288)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B20 #5B0F4A
analogous
#245B0F #0F5B20 #0F5B46
triadic
#0F5B20 #200F5B #5B200F
tetradic
#0F5B20 #0F245B #5B0F4A #5B460F
square
#0F5B20 #0F245B #5B0F4A #5B460F
split-complementary
#0F5B20 #460F5B #5B0F24
monochromatic
#041A09 #06260E #0F5B20 #189032 #20C445

Accessibility & contrast

On white

8.28
#0F5B20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#0F5B20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5B20
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5B20#FFFFFF#000000##FFFFFF
##0F5B201.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C521A
Deuteranopia (green-blind)
#544C25
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5b20;
/* rgb */ color: rgb(15, 91, 32);
/* oklch */ color: oklch(41.3% 0.116 146.4);
Tailwind
colors: {
  custom: {
    50: '#5d8a5e',
    500: '#0f5b20',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b20;
$custom-light: #5d8a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b20",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 32
  },
  "hsl": {
    "h": 133.421,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41332,
    "c": 0.11589,
    "h": 146.4
  },
  "luminance": 0.07688
}

Semantic roles & 50–950 ramp

primary
#0F5B20
secondary
#95317E
accent
#39C6EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5B20

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

Preview Lab → · Contrast checker → · Palette generator →

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