#0F4A12#0F4A12

#0F4A12 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.105 H 143.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#0F4A12
RGBrgb(15, 74, 18)
HSLhsl(123, 66%, 17%)
HSVhsv(123, 80%, 29%)
CMYKcmyk(79.7%, 0%, 75.7%, 71%)
CIE-LABlab(26.86, -31.14, 27.03)
CIE-LCHlch(26.86, 41.23, 139.04°)
OKLaboklab(35.92% -0.0844 0.0621)
OKLCHoklch(35.92% 0.105 143.6)
XYZxyz(2.7548, 5.0425, 1.4003)
Luminance0.0504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4A12 #4A0F47
analogous
#294A0F #0F4A12 #0F4A30
triadic
#0F4A12 #120F4A #4A120F
tetradic
#0F4A12 #0F294A #4A0F47 #4A300F
square
#0F4A12 #0F294A #4A0F47 #4A300F
split-complementary
#0F4A12 #300F4A #4A0F29
monochromatic
#051906 #051906 #0F4A12 #197D1E #24B02B

Accessibility & contrast

On white

10.46
#0F4A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#0F4A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4A12
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4A12#FFFFFF#000000##FFFFFF
##0F4A121.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C420A
Deuteranopia (green-blind)
#453E17
Tritanopia (blue-blind)
#00483F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0f4a12;
/* rgb */ color: rgb(15, 74, 18);
/* oklch */ color: oklch(35.9% 0.105 143.6);
Tailwind
colors: {
  custom: {
    50: '#587d53',
    500: '#0f4a12',
    950: '#000000',
  },
}
SCSS
$custom: #0f4a12;
$custom-light: #587d53;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4a12",
  "rgb": {
    "r": 15,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 123.051,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35918,
    "c": 0.10475,
    "h": 143.6
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#0F4A12
secondary
#843080
accent
#3FE1E9
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0F4A12

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

Preview Lab → · Contrast checker → · Palette generator →

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