#0F5B22#0F5B22

#0F5B22 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.114 H 147.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#0F5B22
RGBrgb(15, 91, 34)
HSLhsl(135, 72%, 21%)
HSVhsv(135, 84%, 36%)
CMYKcmyk(83.5%, 0%, 62.6%, 64.3%)
CIE-LABlab(33.35, -35.56, 26.22)
CIE-LCHlch(33.35, 44.18, 143.60°)
OKLaboklab(41.36% -0.0957 0.0621)
OKLCHoklch(41.36% 0.114 147)
XYZxyz(4.2265, 7.6987, 2.7763)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B22 #5B0F48
analogous
#225B0F #0F5B22 #0F5B48
triadic
#0F5B22 #220F5B #5B220F
tetradic
#0F5B22 #0F225B #5B0F48 #5B480F
square
#0F5B22 #0F225B #5B0F48 #5B480F
split-complementary
#0F5B22 #480F5B #5B0F22
monochromatic
#041A0A #06260E #0F5B22 #189036 #20C449

Accessibility & contrast

On white

8.27
#0F5B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5B22
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5B22#FFFFFF#000000##FFFFFF
##0F5B221.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C521C
Deuteranopia (green-blind)
#544C27
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5b22;
/* rgb */ color: rgb(15, 91, 34);
/* oklch */ color: oklch(41.4% 0.114 147.0);
Tailwind
colors: {
  custom: {
    50: '#5c8a5f',
    500: '#0f5b22',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b22;
$custom-light: #5c8a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b22",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 34
  },
  "hsl": {
    "h": 135,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41359,
    "c": 0.11407,
    "h": 147
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#0F5B22
secondary
#95317C
accent
#39C1EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5B22

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

Preview Lab → · Contrast checker → · Palette generator →

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