#0F4F1F#0F4F1F

#0F4F1F is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.6% C 0.100 H 147.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#0F4F1F
RGBrgb(15, 79, 31)
HSLhsl(135, 68%, 18%)
HSVhsv(135, 81%, 31%)
CMYKcmyk(81%, 0%, 60.8%, 69%)
CIE-LABlab(28.88, -31.33, 22.55)
CIE-LCHlch(28.88, 38.61, 144.25°)
OKLaboklab(37.65% -0.0843 0.0539)
OKLCHoklch(37.65% 0.1 147.4)
XYZxyz(3.2401, 5.7921, 2.2433)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F1F #4F0F3F
analogous
#1F4F0F #0F4F1F #0F4F3F
triadic
#0F4F1F #1F0F4F #4F1F0F
tetradic
#0F4F1F #0F1F4F #4F0F3F #4F3F0F
square
#0F4F1F #0F1F4F #4F0F3F #4F3F0F
split-complementary
#0F4F1F #3F0F4F #4F0F1F
monochromatic
#051A0A #051C0B #0F4F1F #198233 #23B647

Accessibility & contrast

On white

9.73
#0F4F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4F1F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F1F#FFFFFF#000000##FFFFFF
##0F4F1F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f4f1f;
/* rgb */ color: rgb(15, 79, 31);
/* oklch */ color: oklch(37.6% 0.100 147.4);
Tailwind
colors: {
  custom: {
    50: '#59815c',
    500: '#0f4f1f',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f1f;
$custom-light: #59815c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f1f",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 31
  },
  "hsl": {
    "h": 135,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37645,
    "c": 0.10008,
    "h": 147.4
  },
  "luminance": 0.05792
}

Semantic roles & 50–950 ramp

primary
#0F4F1F
secondary
#893173
accent
#3DBFEB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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