#0F4C16#0F4C16

#0F4C16 is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.6% C 0.104 H 144.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#0F4C16
RGBrgb(15, 76, 22)
HSLhsl(127, 67%, 18%)
HSVhsv(127, 80%, 30%)
CMYKcmyk(80.3%, 0%, 71.1%, 70.2%)
CIE-LABlab(27.65, -31.44, 25.93)
CIE-LCHlch(27.65, 40.76, 140.48°)
OKLaboklab(36.59% -0.085 0.0603)
OKLCHoklch(36.59% 0.104 144.6)
XYZxyz(2.9261, 5.3280, 1.6331)
Luminance0.0533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4C16 #4C0F45
analogous
#264C0F #0F4C16 #0F4C34
triadic
#0F4C16 #160F4C #4C160F
tetradic
#0F4C16 #0F264C #4C0F45 #4C340F
square
#0F4C16 #0F264C #4C0F45 #4C340F
split-complementary
#0F4C16 #340F4C #4C0F26
monochromatic
#051A07 #051A07 #0F4C16 #197F25 #23B234

Accessibility & contrast

On white

10.17
#0F4C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#0F4C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4C16
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4C16#FFFFFF#000000##FFFFFF
##0F4C161.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440F
Deuteranopia (green-blind)
#473F1B
Tritanopia (blue-blind)
#004A41
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0f4c16;
/* rgb */ color: rgb(15, 76, 22);
/* oklch */ color: oklch(36.6% 0.104 144.6);
Tailwind
colors: {
  custom: {
    50: '#597f56',
    500: '#0f4c16',
    950: '#000000',
  },
}
SCSS
$custom: #0f4c16;
$custom-light: #597f56;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4c16",
  "rgb": {
    "r": 15,
    "g": 76,
    "b": 22
  },
  "hsl": {
    "h": 126.885,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36589,
    "c": 0.10419,
    "h": 144.6
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#0F4C16
secondary
#86317C
accent
#3ED6EA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4C16

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

Preview Lab → · Contrast checker → · Palette generator →

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