#0F4C12#0F4C12

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

Color values

HEX#0F4C12
RGBrgb(15, 76, 18)
HSLhsl(123, 67%, 18%)
HSVhsv(123, 80%, 30%)
CMYKcmyk(80.3%, 0%, 76.3%, 70.2%)
CIE-LABlab(27.61, -31.91, 27.83)
CIE-LCHlch(27.61, 42.34, 138.90°)
OKLaboklab(36.54% -0.0865 0.0638)
OKLCHoklch(36.54% 0.107 143.6)
XYZxyz(2.8904, 5.3138, 1.4455)
Luminance0.0531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4C12 #4C0F49
analogous
#2A4C0F #0F4C12 #0F4C30
triadic
#0F4C12 #120F4C #4C120F
tetradic
#0F4C12 #0F2A4C #4C0F49 #4C300F
square
#0F4C12 #0F2A4C #4C0F49 #4C300F
split-complementary
#0F4C12 #300F4C #4C0F2A
monochromatic
#051A06 #051A06 #0F4C12 #197F1E #23B22A

Accessibility & contrast

On white

10.18
#0F4C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4C12
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4C12#FFFFFF#000000##FFFFFF
##0F4C121.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f4c12;
/* rgb */ color: rgb(15, 76, 18);
/* oklch */ color: oklch(36.5% 0.107 143.6);
Tailwind
colors: {
  custom: {
    50: '#597f53',
    500: '#0f4c12',
    950: '#000000',
  },
}
SCSS
$custom: #0f4c12;
$custom-light: #597f53;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4c12",
  "rgb": {
    "r": 15,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 122.951,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36544,
    "c": 0.10744,
    "h": 143.6
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#0F4C12
secondary
#863182
accent
#3EE1EA
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4C12

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

Preview Lab → · Contrast checker → · Palette generator →

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