#0F5C22#0F5C22

#0F5C22 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.115 H 146.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#0F5C22
RGBrgb(15, 92, 34)
HSLhsl(135, 72%, 21%)
HSVhsv(135, 84%, 36%)
CMYKcmyk(83.7%, 0%, 63%, 63.9%)
CIE-LABlab(33.71, -35.94, 26.64)
CIE-LCHlch(33.71, 44.74, 143.45°)
OKLaboklab(41.66% -0.0967 0.0631)
OKLCHoklch(41.66% 0.115 146.9)
XYZxyz(4.3126, 7.8708, 2.8050)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C22 #5C0F49
analogous
#225C0F #0F5C22 #0F5C48
triadic
#0F5C22 #220F5C #5C220F
tetradic
#0F5C22 #0F225C #5C0F49 #5C480F
square
#0F5C22 #0F225C #5C0F49 #5C480F
split-complementary
#0F5C22 #480F5C #5C0F22
monochromatic
#041A0A #06270F #0F5C22 #189135 #20C549

Accessibility & contrast

On white

8.16
#0F5C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#0F5C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5C22
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5C22#FFFFFF#000000##FFFFFF
##0F5C221.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D531C
Deuteranopia (green-blind)
#554D27
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5c22;
/* rgb */ color: rgb(15, 92, 34);
/* oklch */ color: oklch(41.7% 0.115 146.9);
Tailwind
colors: {
  custom: {
    50: '#5d8b5f',
    500: '#0f5c22',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c22;
$custom-light: #5d8b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c22",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 34
  },
  "hsl": {
    "h": 134.805,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41662,
    "c": 0.11544,
    "h": 146.9
  },
  "luminance": 0.07871
}

Semantic roles & 50–950 ramp

primary
#0F5C22
secondary
#95317D
accent
#39C2EF
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F5C22

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

Preview Lab → · Contrast checker → · Palette generator →

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