#0F4822#0F4822

#0F4822 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.5% C 0.087 H 150.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#0F4822
RGBrgb(15, 72, 34)
HSLhsl(140, 66%, 17%)
HSVhsv(140, 79%, 28%)
CMYKcmyk(79.2%, 0%, 52.8%, 71.8%)
CIE-LABlab(26.31, -27.88, 17.64)
CIE-LCHlch(26.31, 33.00, 147.68°)
OKLaboklab(35.53% -0.075 0.0431)
OKLCHoklch(35.53% 0.087 150.1)
XYZxyz(2.8029, 4.8515, 2.3018)
Luminance0.0485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4822 #480F35
analogous
#19480F #0F4822 #0F483F
triadic
#0F4822 #220F48 #48220F
tetradic
#0F4822 #0F1948 #480F35 #483F0F
square
#0F4822 #0F1948 #480F35 #483F0F
split-complementary
#0F4822 #3F0F48 #480F19
monochromatic
#05190C #05190C #0F4822 #1A7B3A #24AD52

Accessibility & contrast

On white

10.66
#0F4822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#0F4822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4822
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4822#FFFFFF#000000##FFFFFF
##0F48221.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48411F
Deuteranopia (green-blind)
#423C25
Tritanopia (blue-blind)
#00473F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0f4822;
/* rgb */ color: rgb(15, 72, 34);
/* oklch */ color: oklch(35.5% 0.087 150.1);
Tailwind
colors: {
  custom: {
    50: '#577c5e',
    500: '#0f4822',
    950: '#000000',
  },
}
SCSS
$custom: #0f4822;
$custom-light: #577c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4822",
  "rgb": {
    "r": 15,
    "g": 72,
    "b": 34
  },
  "hsl": {
    "h": 140,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35531,
    "c": 0.08655,
    "h": 150.1
  },
  "luminance": 0.04852
}

Semantic roles & 50–950 ramp

primary
#0F4822
secondary
#823067
accent
#3FB0E8
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0F4822

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

Preview Lab → · Contrast checker → · Palette generator →

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