#0F4C0F#0F4C0F

#0F4C0F is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.5% C 0.110 H 142.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#0F4C0F
RGBrgb(15, 76, 15)
HSLhsl(120, 67%, 18%)
HSVhsv(120, 80%, 30%)
CMYKcmyk(80.3%, 0%, 80.3%, 70.2%)
CIE-LABlab(27.59, -32.22, 29.15)
CIE-LCHlch(27.59, 43.45, 137.86°)
OKLaboklab(36.52% -0.0875 0.0661)
OKLCHoklch(36.52% 0.11 142.9)
XYZxyz(2.8675, 5.3046, 1.3246)
Luminance0.0530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4C0F #4C0F4C
analogous
#2D4C0F #0F4C0F #0F4C2D
triadic
#0F4C0F #0F0F4C #4C0F0F
tetradic
#0F4C0F #0F2D4C #4C0F4C #4C2D0F
square
#0F4C0F #0F2D4C #4C0F4C #4C2D0F
split-complementary
#0F4C0F #2D0F4C #4C0F2D
monochromatic
#051A05 #051A05 #0F4C0F #197F19 #23B223

Accessibility & contrast

On white

10.19
#0F4C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#0F4C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4C0F
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4C0F#FFFFFF#000000##FFFFFF
##0F4C0F1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4405
Deuteranopia (green-blind)
#473F15
Tritanopia (blue-blind)
#004A40
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0f4c0f;
/* rgb */ color: rgb(15, 76, 15);
/* oklch */ color: oklch(36.5% 0.110 142.9);
Tailwind
colors: {
  custom: {
    50: '#597f52',
    500: '#0f4c0f',
    950: '#000000',
  },
}
SCSS
$custom: #0f4c0f;
$custom-light: #597f52;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4c0f",
  "rgb": {
    "r": 15,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 120,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36515,
    "c": 0.10963,
    "h": 142.9
  },
  "luminance": 0.05305
}

Semantic roles & 50–950 ramp

primary
#0F4C0F
secondary
#863186
accent
#3EEAEA
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0F4C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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