#0F401E#0F401E

#0F401E is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.078 H 149.8°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#0F401E
RGBrgb(15, 64, 30)
HSLhsl(138, 62%, 15%)
HSVhsv(138, 77%, 25%)
CMYKcmyk(76.6%, 0%, 53.1%, 74.9%)
CIE-LABlab(23.21, -25.13, 16.15)
CIE-LCHlch(23.21, 29.87, 147.28°)
OKLaboklab(32.95% -0.0677 0.0395)
OKLCHoklch(32.95% 0.078 149.8)
XYZxyz(2.2646, 3.8618, 1.8541)
Luminance0.0386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F401E #400F31
analogous
#19400F #0F401E #0F4036
triadic
#0F401E #1E0F40 #401E0F
tetradic
#0F401E #0F1940 #400F31 #40360F
square
#0F401E #0F1940 #400F31 #40360F
split-complementary
#0F401E #360F40 #400F19
monochromatic
#06190C #06190C #0F401E #1B7235 #26A34C

Accessibility & contrast

On white

11.85
#0F401E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#0F401E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F401E
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F401E#FFFFFF#000000##FFFFFF
##0F401E1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A1B
Deuteranopia (green-blind)
#3A3620
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f401e;
/* rgb */ color: rgb(15, 64, 30);
/* oklch */ color: oklch(33.0% 0.078 149.8);
Tailwind
colors: {
  custom: {
    50: '#55755a',
    500: '#0f401e',
    950: '#000000',
  },
}
SCSS
$custom: #0f401e;
$custom-light: #55755a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f401e",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 30
  },
  "hsl": {
    "h": 138.367,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32951,
    "c": 0.0784,
    "h": 149.8
  },
  "luminance": 0.03862
}

Semantic roles & 50–950 ramp

primary
#0F401E
secondary
#7A3064
accent
#43B3E5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0F401E

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

Preview Lab → · Contrast checker → · Palette generator →

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