#0F4D1C#0F4D1C

#0F4D1C is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.100 H 146.5°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#0F4D1C
RGBrgb(15, 77, 28)
HSLhsl(133, 67%, 18%)
HSVhsv(133, 81%, 30%)
CMYKcmyk(80.5%, 0%, 63.6%, 69.8%)
CIE-LABlab(28.09, -31.00, 23.28)
CIE-LCHlch(28.09, 38.77, 143.09°)
OKLaboklab(36.98% -0.0835 0.0552)
OKLCHoklch(36.98% 0.1 146.5)
XYZxyz(3.0603, 5.4928, 1.9973)
Luminance0.0549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D1C #4D0F40
analogous
#214D0F #0F4D1C #0F4D3B
triadic
#0F4D1C #1C0F4D #4D1C0F
tetradic
#0F4D1C #0F214D #4D0F40 #4D3B0F
square
#0F4D1C #0F214D #4D0F40 #4D3B0F
split-complementary
#0F4D1C #3B0F4D #4D0F21
monochromatic
#051A09 #051A09 #0F4D1C #19802F #23B341

Accessibility & contrast

On white

10.01
#0F4D1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#0F4D1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4D1C
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4D1C#FFFFFF#000000##FFFFFF
##0F4D1C1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4517
Deuteranopia (green-blind)
#474020
Tritanopia (blue-blind)
#004B42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0f4d1c;
/* rgb */ color: rgb(15, 77, 28);
/* oklch */ color: oklch(37.0% 0.100 146.5);
Tailwind
colors: {
  custom: {
    50: '#597f5a',
    500: '#0f4d1c',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d1c;
$custom-light: #597f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d1c",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 28
  },
  "hsl": {
    "h": 132.581,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36981,
    "c": 0.10013,
    "h": 146.5
  },
  "luminance": 0.05493
}

Semantic roles & 50–950 ramp

primary
#0F4D1C
secondary
#873175
accent
#3EC6EA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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