#0F5D22#0F5D22

#0F5D22 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.117 H 146.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#0F5D22
RGBrgb(15, 93, 34)
HSLhsl(135, 72%, 21%)
HSVhsv(135, 84%, 36%)
CMYKcmyk(83.9%, 0%, 63.4%, 63.5%)
CIE-LABlab(34.08, -36.32, 27.07)
CIE-LCHlch(34.08, 45.30, 143.30°)
OKLaboklab(41.97% -0.0977 0.064)
OKLCHoklch(41.97% 0.117 146.8)
XYZxyz(4.3998, 8.0452, 2.8341)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D22 #5D0F4A
analogous
#235D0F #0F5D22 #0F5D49
triadic
#0F5D22 #220F5D #5D220F
tetradic
#0F5D22 #0F235D #5D0F4A #5D490F
square
#0F5D22 #0F235D #5D0F4A #5D490F
split-complementary
#0F5D22 #490F5D #5D0F23
monochromatic
#041A0A #06280F #0F5D22 #179235 #20C649

Accessibility & contrast

On white

8.05
#0F5D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5D22
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D22#FFFFFF#000000##FFFFFF
##0F5D221.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5d22;
/* rgb */ color: rgb(15, 93, 34);
/* oklch */ color: oklch(42.0% 0.117 146.8);
Tailwind
colors: {
  custom: {
    50: '#5d8c5f',
    500: '#0f5d22',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d22;
$custom-light: #5d8c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d22",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 34
  },
  "hsl": {
    "h": 134.615,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41965,
    "c": 0.1168,
    "h": 146.8
  },
  "luminance": 0.08046
}

Semantic roles & 50–950 ramp

primary
#0F5D22
secondary
#96317E
accent
#39C3EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F5D22

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

Preview Lab → · Contrast checker → · Palette generator →

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