#0F4E12#0F4E12

#0F4E12 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.2% C 0.110 H 143.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#0F4E12
RGBrgb(15, 78, 18)
HSLhsl(123, 68%, 18%)
HSVhsv(123, 81%, 31%)
CMYKcmyk(80.8%, 0%, 76.9%, 69.4%)
CIE-LABlab(28.36, -32.67, 28.63)
CIE-LCHlch(28.36, 43.44, 138.78°)
OKLaboklab(37.17% -0.0885 0.0654)
OKLCHoklch(37.17% 0.11 143.5)
XYZxyz(3.0304, 5.5937, 1.4921)
Luminance0.0559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4E12 #4E0F4B
analogous
#2B4E0F #0F4E12 #0F4E31
triadic
#0F4E12 #120F4E #4E120F
tetradic
#0F4E12 #0F2B4E #4E0F4B #4E310F
square
#0F4E12 #0F2B4E #4E0F4B #4E310F
split-complementary
#0F4E12 #310F4E #4E0F2B
monochromatic
#051A06 #051B06 #0F4E12 #19811E #23B52A

Accessibility & contrast

On white

9.91
#0F4E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#0F4E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4E12
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4E12#FFFFFF#000000##FFFFFF
##0F4E121.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#494118
Tritanopia (blue-blind)
#004C42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0f4e12;
/* rgb */ color: rgb(15, 78, 18);
/* oklch */ color: oklch(37.2% 0.110 143.5);
Tailwind
colors: {
  custom: {
    50: '#5a8054',
    500: '#0f4e12',
    950: '#000000',
  },
}
SCSS
$custom: #0f4e12;
$custom-light: #5a8054;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4e12",
  "rgb": {
    "r": 15,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 122.857,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37169,
    "c": 0.1101,
    "h": 143.5
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#0F4E12
secondary
#883184
accent
#3DE2EB
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4E12

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

Preview Lab → · Contrast checker → · Palette generator →

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