#0F4A22#0F4A22

#0F4A22 is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.2% C 0.090 H 149.7°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#0F4A22
RGBrgb(15, 74, 34)
HSLhsl(139, 66%, 17%)
HSVhsv(139, 80%, 29%)
CMYKcmyk(79.7%, 0%, 54.1%, 71%)
CIE-LABlab(27.06, -28.74, 18.59)
CIE-LCHlch(27.06, 34.23, 147.11°)
OKLaboklab(36.15% -0.0773 0.0452)
OKLCHoklch(36.15% 0.09 149.7)
XYZxyz(2.9343, 5.1143, 2.3456)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4A22 #4A0F37
analogous
#1A4A0F #0F4A22 #0F4A3F
triadic
#0F4A22 #220F4A #4A220F
tetradic
#0F4A22 #0F1A4A #4A0F37 #4A3F0F
square
#0F4A22 #0F1A4A #4A0F37 #4A3F0F
split-complementary
#0F4A22 #3F0F4A #4A0F1A
monochromatic
#05190C #05190C #0F4A22 #197D39 #24B051

Accessibility & contrast

On white

10.38
#0F4A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#0F4A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4A22
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4A22#FFFFFF#000000##FFFFFF
##0F4A221.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431F
Deuteranopia (green-blind)
#443E25
Tritanopia (blue-blind)
#004941
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0f4a22;
/* rgb */ color: rgb(15, 74, 34);
/* oklch */ color: oklch(36.2% 0.090 149.7);
Tailwind
colors: {
  custom: {
    50: '#587d5e',
    500: '#0f4a22',
    950: '#000000',
  },
}
SCSS
$custom: #0f4a22;
$custom-light: #587d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4a22",
  "rgb": {
    "r": 15,
    "g": 74,
    "b": 34
  },
  "hsl": {
    "h": 139.322,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36151,
    "c": 0.0896,
    "h": 149.7
  },
  "luminance": 0.05115
}

Semantic roles & 50–950 ramp

primary
#0F4A22
secondary
#843069
accent
#3FB2E9
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4A22

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

Preview Lab → · Contrast checker → · Palette generator →

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