#0F5D21#0F5D21

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

Color values

HEX#0F5D21
RGBrgb(15, 93, 33)
HSLhsl(134, 72%, 21%)
HSVhsv(134, 84%, 36%)
CMYKcmyk(83.9%, 0%, 64.5%, 63.5%)
CIE-LABlab(34.06, -36.46, 27.57)
CIE-LCHlch(34.06, 45.72, 142.90°)
OKLaboklab(41.95% -0.0981 0.065)
OKLCHoklch(41.95% 0.118 146.5)
XYZxyz(4.3855, 8.0395, 2.7592)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D21 #5D0F4B
analogous
#245D0F #0F5D21 #0F5D48
triadic
#0F5D21 #210F5D #5D210F
tetradic
#0F5D21 #0F245D #5D0F4B #5D480F
square
#0F5D21 #0F245D #5D0F4B #5D480F
split-complementary
#0F5D21 #480F5D #5D0F24
monochromatic
#041A09 #06280E #0F5D21 #179234 #20C646

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5D21#FFFFFF#000000##FFFFFF
##0F5D211.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)
#5E541B
Deuteranopia (green-blind)
#564E26
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5d21;
/* rgb */ color: rgb(15, 93, 33);
/* oklch */ color: oklch(42.0% 0.118 146.5);
Tailwind
colors: {
  custom: {
    50: '#5d8c5e',
    500: '#0f5d21',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d21;
$custom-light: #5d8c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d21",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 33
  },
  "hsl": {
    "h": 133.846,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41951,
    "c": 0.1177,
    "h": 146.5
  },
  "luminance": 0.0804
}

Semantic roles & 50–950 ramp

primary
#0F5D21
secondary
#96317F
accent
#39C5EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5D21

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

Preview Lab → · Contrast checker → · Palette generator →

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