#0F5922#0F5922

#0F5922 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.8% C 0.111 H 147.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#0F5922
RGBrgb(15, 89, 34)
HSLhsl(135, 71%, 20%)
HSVhsv(135, 83%, 35%)
CMYKcmyk(83.1%, 0%, 61.8%, 65.1%)
CIE-LABlab(32.62, -34.80, 25.35)
CIE-LCHlch(32.62, 43.06, 143.92°)
OKLaboklab(40.75% -0.0936 0.0603)
OKLCHoklch(40.75% 0.111 147.2)
XYZxyz(4.0578, 7.3613, 2.7201)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5922 #590F46
analogous
#21590F #0F5922 #0F5947
triadic
#0F5922 #220F59 #59220F
tetradic
#0F5922 #0F2159 #590F46 #59470F
square
#0F5922 #0F2159 #590F46 #59470F
split-complementary
#0F5922 #470F59 #590F21
monochromatic
#041A0A #06250E #0F5922 #188D36 #21C24A

Accessibility & contrast

On white

8.49
#0F5922 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#0F5922 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5922
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5922#FFFFFF#000000##FFFFFF
##0F59221.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A501D
Deuteranopia (green-blind)
#524A26
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0f5922;
/* rgb */ color: rgb(15, 89, 34);
/* oklch */ color: oklch(40.8% 0.111 147.2);
Tailwind
colors: {
  custom: {
    50: '#5c895f',
    500: '#0f5922',
    950: '#000000',
  },
}
SCSS
$custom: #0f5922;
$custom-light: #5c895f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5922",
  "rgb": {
    "r": 15,
    "g": 89,
    "b": 34
  },
  "hsl": {
    "h": 135.405,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40753,
    "c": 0.11132,
    "h": 147.2
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#0F5922
secondary
#93317A
accent
#3AC0EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #0F5922

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

Preview Lab → · Contrast checker → · Palette generator →

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