#0F4F20#0F4F20

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

Color values

HEX#0F4F20
RGBrgb(15, 79, 32)
HSLhsl(136, 68%, 18%)
HSVhsv(136, 81%, 31%)
CMYKcmyk(81%, 0%, 59.5%, 69%)
CIE-LABlab(28.90, -31.17, 22.01)
CIE-LCHlch(28.90, 38.16, 144.77°)
OKLaboklab(37.66% -0.0839 0.0528)
OKLCHoklch(37.66% 0.099 147.8)
XYZxyz(3.2534, 5.7974, 2.3138)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F20 #4F0F3E
analogous
#1E4F0F #0F4F20 #0F4F40
triadic
#0F4F20 #200F4F #4F200F
tetradic
#0F4F20 #0F1E4F #4F0F3E #4F400F
square
#0F4F20 #0F1E4F #4F0F3E #4F400F
split-complementary
#0F4F20 #400F4F #4F0F1E
monochromatic
#051A0A #051C0B #0F4F20 #198235 #23B64A

Accessibility & contrast

On white

9.72
#0F4F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4F20
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F20#FFFFFF#000000##FFFFFF
##0F4F201.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50471C
Deuteranopia (green-blind)
#494224
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0f4f20;
/* rgb */ color: rgb(15, 79, 32);
/* oklch */ color: oklch(37.7% 0.099 147.8);
Tailwind
colors: {
  custom: {
    50: '#59815d',
    500: '#0f4f20',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f20;
$custom-light: #59815d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f20",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 32
  },
  "hsl": {
    "h": 135.938,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37661,
    "c": 0.09908,
    "h": 147.8
  },
  "luminance": 0.05798
}

Semantic roles & 50–950 ramp

primary
#0F4F20
secondary
#893172
accent
#3DBDEB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4F20

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

Preview Lab → · Contrast checker → · Palette generator →

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