#0F5E22#0F5E22

#0F5E22 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.118 H 146.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#0F5E22
RGBrgb(15, 94, 34)
HSLhsl(134, 72%, 21%)
HSVhsv(134, 84%, 37%)
CMYKcmyk(84%, 0%, 63.8%, 63.1%)
CIE-LABlab(34.44, -36.70, 27.49)
CIE-LCHlch(34.44, 45.85, 143.16°)
OKLaboklab(42.27% -0.0987 0.0649)
OKLCHoklch(42.27% 0.118 146.7)
XYZxyz(4.4881, 8.2219, 2.8635)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5E22 #5E0F4B
analogous
#245E0F #0F5E22 #0F5E4A
triadic
#0F5E22 #220F5E #5E220F
tetradic
#0F5E22 #0F245E #5E0F4B #5E4A0F
square
#0F5E22 #0F245E #5E0F4B #5E4A0F
split-complementary
#0F5E22 #4A0F5E #5E0F24
monochromatic
#041A0A #07290F #0F5E22 #179335 #20C848

Accessibility & contrast

On white

7.94
#0F5E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#0F5E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5E22
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5E22#FFFFFF#000000##FFFFFF
##0F5E221.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F551C
Deuteranopia (green-blind)
#574F27
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5e22;
/* rgb */ color: rgb(15, 94, 34);
/* oklch */ color: oklch(42.3% 0.118 146.7);
Tailwind
colors: {
  custom: {
    50: '#5d8d5f',
    500: '#0f5e22',
    950: '#000000',
  },
}
SCSS
$custom: #0f5e22;
$custom-light: #5d8d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5e22",
  "rgb": {
    "r": 15,
    "g": 94,
    "b": 34
  },
  "hsl": {
    "h": 134.43,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42266,
    "c": 0.11815,
    "h": 146.7
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#0F5E22
secondary
#97317F
accent
#39C3EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F5E22

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

Preview Lab → · Contrast checker → · Palette generator →

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