#0F400D#0F400D

#0F400D is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.095 H 142.5°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#0F400D
RGBrgb(15, 64, 13)
HSLhsl(118, 66%, 15%)
HSVhsv(118, 80%, 25%)
CMYKcmyk(76.6%, 0%, 79.7%, 74.9%)
CIE-LABlab(22.99, -27.69, 25.30)
CIE-LCHlch(22.99, 37.51, 137.58°)
OKLaboklab(32.7% -0.0753 0.0578)
OKLCHoklch(32.7% 0.095 142.5)
XYZxyz(2.1029, 3.7972, 1.0028)
Luminance0.0380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F400D #3E0D40
analogous
#28400D #0F400D #0D4024
triadic
#0F400D #0D0F40 #400D0F
tetradic
#0F400D #0D2840 #3E0D40 #40240D
square
#0F400D #0D2840 #3E0D40 #40240D
split-complementary
#0F400D #240D40 #400D28
monochromatic
#061905 #061905 #0F400D #1B7317 #27A622

Accessibility & contrast

On white

11.94
#0F400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0F400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F400D
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F400D#FFFFFF#000000##FFFFFF
##0F400D1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423906
Deuteranopia (green-blind)
#3C3512
Tritanopia (blue-blind)
#043E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f400d;
/* rgb */ color: rgb(15, 64, 13);
/* oklch */ color: oklch(32.7% 0.095 142.5);
Tailwind
colors: {
  custom: {
    50: '#56754f',
    500: '#0f400d',
    950: '#000000',
  },
}
SCSS
$custom: #0f400d;
$custom-light: #56754f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f400d",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 117.647,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.32698,
    "c": 0.0949,
    "h": 142.5
  },
  "luminance": 0.03797
}

Semantic roles & 50–950 ramp

primary
#0F400D
secondary
#782D7C
accent
#3FE9E2
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0F400D

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

Preview Lab → · Contrast checker → · Palette generator →

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