#0F4F22#0F4F22

#0F4F22 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.097 H 148.7°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#0F4F22
RGBrgb(15, 79, 34)
HSLhsl(138, 68%, 18%)
HSVhsv(138, 81%, 31%)
CMYKcmyk(81%, 0%, 57%, 69%)
CIE-LABlab(28.92, -30.83, 20.91)
CIE-LCHlch(28.92, 37.25, 145.86°)
OKLaboklab(37.7% -0.0829 0.0505)
OKLCHoklch(37.7% 0.097 148.7)
XYZxyz(3.2815, 5.8086, 2.4613)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F22 #4F0F3C
analogous
#1C4F0F #0F4F22 #0F4F42
triadic
#0F4F22 #220F4F #4F220F
tetradic
#0F4F22 #0F1C4F #4F0F3C #4F420F
square
#0F4F22 #0F1C4F #4F0F3C #4F420F
split-complementary
#0F4F22 #420F4F #4F0F1C
monochromatic
#051A0B #051C0C #0F4F22 #198238 #23B64E

Accessibility & contrast

On white

9.71
#0F4F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#0F4F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4F22
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F22#FFFFFF#000000##FFFFFF
##0F4F221.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50471E
Deuteranopia (green-blind)
#484225
Tritanopia (blue-blind)
#004D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0f4f22;
/* rgb */ color: rgb(15, 79, 34);
/* oklch */ color: oklch(37.7% 0.097 148.7);
Tailwind
colors: {
  custom: {
    50: '#59815e',
    500: '#0f4f22',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f22;
$custom-light: #59815e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f22",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 34
  },
  "hsl": {
    "h": 137.813,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37695,
    "c": 0.09706,
    "h": 148.7
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#0F4F22
secondary
#89316F
accent
#3DB7EB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4F22

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

Preview Lab → · Contrast checker → · Palette generator →

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