#0F4C22#0F4C22

#0F4C22 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.093 H 149.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#0F4C22
RGBrgb(15, 76, 34)
HSLhsl(139, 67%, 18%)
HSVhsv(139, 80%, 30%)
CMYKcmyk(80.3%, 0%, 55.3%, 70.2%)
CIE-LABlab(27.81, -29.59, 19.52)
CIE-LCHlch(27.81, 35.45, 146.58°)
OKLaboklab(36.77% -0.0796 0.0474)
OKLCHoklch(36.77% 0.093 149.3)
XYZxyz(3.0699, 5.3856, 2.3908)
Luminance0.0539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4C22 #4C0F39
analogous
#1A4C0F #0F4C22 #0F4C40
triadic
#0F4C22 #220F4C #4C220F
tetradic
#0F4C22 #0F1A4C #4C0F39 #4C400F
square
#0F4C22 #0F1A4C #4C0F39 #4C400F
split-complementary
#0F4C22 #400F4C #4C0F1A
monochromatic
#051A0B #051A0B #0F4C22 #197F39 #23B250

Accessibility & contrast

On white

10.11
#0F4C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#0F4C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4C22
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4C22#FFFFFF#000000##FFFFFF
##0F4C221.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451E
Deuteranopia (green-blind)
#454025
Tritanopia (blue-blind)
#004A42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0f4c22;
/* rgb */ color: rgb(15, 76, 34);
/* oklch */ color: oklch(36.8% 0.093 149.3);
Tailwind
colors: {
  custom: {
    50: '#587f5e',
    500: '#0f4c22',
    950: '#000000',
  },
}
SCSS
$custom: #0f4c22;
$custom-light: #587f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4c22",
  "rgb": {
    "r": 15,
    "g": 76,
    "b": 34
  },
  "hsl": {
    "h": 138.689,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36769,
    "c": 0.09261,
    "h": 149.3
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

primary
#0F4C22
secondary
#86316C
accent
#3EB4EA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4C22

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

Preview Lab → · Contrast checker → · Palette generator →

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