#0F4F1A#0F4F1A

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

Color values

HEX#0F4F1A
RGBrgb(15, 79, 26)
HSLhsl(130, 68%, 18%)
HSVhsv(130, 81%, 31%)
CMYKcmyk(81%, 0%, 67.1%, 69%)
CIE-LABlab(28.82, -32.08, 25.19)
CIE-LCHlch(28.82, 40.79, 141.86°)
OKLaboklab(37.57% -0.0865 0.0592)
OKLCHoklch(37.57% 0.105 145.6)
XYZxyz(3.1792, 5.7677, 1.9228)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F1A #4F0F44
analogous
#244F0F #0F4F1A #0F4F3A
triadic
#0F4F1A #1A0F4F #4F1A0F
tetradic
#0F4F1A #0F244F #4F0F44 #4F3A0F
square
#0F4F1A #0F244F #4F0F44 #4F3A0F
split-complementary
#0F4F1A #3A0F4F #4F0F24
monochromatic
#051A08 #051C09 #0F4F1A #19822B #23B63C

Accessibility & contrast

On white

9.75
#0F4F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#0F4F1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4F1A
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F1A#FFFFFF#000000##FFFFFF
##0F4F1A1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504714
Deuteranopia (green-blind)
#49421E
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0f4f1a;
/* rgb */ color: rgb(15, 79, 26);
/* oklch */ color: oklch(37.6% 0.105 145.6);
Tailwind
colors: {
  custom: {
    50: '#598159',
    500: '#0f4f1a',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f1a;
$custom-light: #598159;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f1a",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 26
  },
  "hsl": {
    "h": 130.313,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37573,
    "c": 0.10482,
    "h": 145.6
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#0F4F1A
secondary
#89317A
accent
#3DCDEB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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