#0F4D15#0F4D15

#0F4D15 is a dark, moderate green. Relative luminance 0.055; OKLCH L 36.9% C 0.106 H 144.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#0F4D15
RGBrgb(15, 77, 21)
HSLhsl(126, 67%, 18%)
HSVhsv(126, 81%, 30%)
CMYKcmyk(80.5%, 0%, 72.7%, 69.8%)
CIE-LABlab(28.02, -31.95, 26.84)
CIE-LCHlch(28.02, 41.73, 139.97°)
OKLaboklab(36.89% -0.0864 0.0621)
OKLCHoklch(36.89% 0.106 144.3)
XYZxyz(2.9860, 5.4631, 1.6064)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D15 #4D0F47
analogous
#284D0F #0F4D15 #0F4D34
triadic
#0F4D15 #150F4D #4D150F
tetradic
#0F4D15 #0F284D #4D0F47 #4D340F
square
#0F4D15 #0F284D #4D0F47 #4D340F
split-complementary
#0F4D15 #340F4D #4D0F28
monochromatic
#051A07 #051A07 #0F4D15 #198023 #23B331

Accessibility & contrast

On white

10.04
#0F4D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#0F4D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4D15
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4D15#FFFFFF#000000##FFFFFF
##0F4D151.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450E
Deuteranopia (green-blind)
#48401A
Tritanopia (blue-blind)
#004B41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0f4d15;
/* rgb */ color: rgb(15, 77, 21);
/* oklch */ color: oklch(36.9% 0.106 144.3);
Tailwind
colors: {
  custom: {
    50: '#597f55',
    500: '#0f4d15',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d15;
$custom-light: #597f55;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d15",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 21
  },
  "hsl": {
    "h": 125.806,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36889,
    "c": 0.10641,
    "h": 144.3
  },
  "luminance": 0.05463
}

Semantic roles & 50–950 ramp

primary
#0F4D15
secondary
#87317F
accent
#3EDAEA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4D15

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

Preview Lab → · Contrast checker → · Palette generator →

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