#0F4222#0F4222

#0F4222 is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.7% C 0.077 H 151.8°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#0F4222
RGBrgb(15, 66, 34)
HSLhsl(142, 63%, 16%)
HSVhsv(142, 77%, 26%)
CMYKcmyk(77.3%, 0%, 48.5%, 74.1%)
CIE-LABlab(24.04, -25.22, 14.74)
CIE-LCHlch(24.04, 29.22, 149.70°)
OKLaboklab(33.66% -0.068 0.0364)
OKLCHoklch(33.66% 0.077 151.8)
XYZxyz(2.4337, 4.1132, 2.1787)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4222 #420F2F
analogous
#15420F #0F4222 #0F423B
triadic
#0F4222 #220F42 #42220F
tetradic
#0F4222 #0F1542 #420F2F #423B0F
square
#0F4222 #0F1542 #420F2F #423B0F
split-complementary
#0F4222 #3B0F42 #420F15
monochromatic
#06190D #06190D #0F4222 #1A743C #26A655

Accessibility & contrast

On white

11.52
#0F4222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#0F4222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4222
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4222#FFFFFF#000000##FFFFFF
##0F42221.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C20
Deuteranopia (green-blind)
#3C3724
Tritanopia (blue-blind)
#00413A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0f4222;
/* rgb */ color: rgb(15, 66, 34);
/* oklch */ color: oklch(33.7% 0.077 151.8);
Tailwind
colors: {
  custom: {
    50: '#55775d',
    500: '#0f4222',
    950: '#000000',
  },
}
SCSS
$custom: #0f4222;
$custom-light: #55775d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4222",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 34
  },
  "hsl": {
    "h": 142.353,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33661,
    "c": 0.07715,
    "h": 151.8
  },
  "luminance": 0.04113
}

Semantic roles & 50–950 ramp

primary
#0F4222
secondary
#7C3060
accent
#42A9E6
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0F4222

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

Preview Lab → · Contrast checker → · Palette generator →

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