#0F4312#0F4312

#0F4312 is a dark, moderate green. Relative luminance 0.042; OKLCH L 33.7% C 0.095 H 143.9°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#0F4312
RGBrgb(15, 67, 18)
HSLhsl(123, 63%, 16%)
HSVhsv(123, 78%, 26%)
CMYKcmyk(77.6%, 0%, 73.1%, 73.7%)
CIE-LABlab(24.19, -28.34, 24.14)
CIE-LCHlch(24.19, 37.23, 139.58°)
OKLaboklab(33.71% -0.0768 0.056)
OKLCHoklch(33.71% 0.095 143.9)
XYZxyz(2.3132, 4.1593, 1.2531)
Luminance0.0416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4312 #430F40
analogous
#26430F #0F4312 #0F432C
triadic
#0F4312 #120F43 #43120F
tetradic
#0F4312 #0F2643 #430F40 #432C0F
square
#0F4312 #0F2643 #430F40 #432C0F
split-complementary
#0F4312 #2C0F43 #430F26
monochromatic
#061907 #061907 #0F4312 #1A751F #25A72D

Accessibility & contrast

On white

11.46
#0F4312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#0F4312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4312
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4312#FFFFFF#000000##FFFFFF
##0F43121.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C0C
Deuteranopia (green-blind)
#3E3816
Tritanopia (blue-blind)
#024139
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0f4312;
/* rgb */ color: rgb(15, 67, 18);
/* oklch */ color: oklch(33.7% 0.095 143.9);
Tailwind
colors: {
  custom: {
    50: '#567852',
    500: '#0f4312',
    950: '#000000',
  },
}
SCSS
$custom: #0f4312;
$custom-light: #567852;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4312",
  "rgb": {
    "r": 15,
    "g": 67,
    "b": 18
  },
  "hsl": {
    "h": 123.462,
    "s": 63.415,
    "l": 16.078
  },
  "oklch": {
    "l": 0.33709,
    "c": 0.09503,
    "h": 143.9
  },
  "luminance": 0.0416
}

Semantic roles & 50–950 ramp

primary
#0F4312
secondary
#7D3079
accent
#41DDE6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0F4312

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

Preview Lab → · Contrast checker → · Palette generator →

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