#0F401C#0F401C

#0F401C is a dark, moderate green. Relative luminance 0.039; OKLCH L 32.9% C 0.081 H 148.6°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#0F401C
RGBrgb(15, 64, 28)
HSLhsl(136, 62%, 15%)
HSVhsv(136, 77%, 25%)
CMYKcmyk(76.6%, 0%, 56.2%, 74.9%)
CIE-LABlab(23.18, -25.51, 17.33)
CIE-LCHlch(23.18, 30.84, 145.82°)
OKLaboklab(32.91% -0.0688 0.042)
OKLCHoklch(32.91% 0.081 148.6)
XYZxyz(2.2398, 3.8520, 1.7238)
Luminance0.0385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F401C #400F33
analogous
#1B400F #0F401C #0F4034
triadic
#0F401C #1C0F40 #401C0F
tetradic
#0F401C #0F1B40 #400F33 #40340F
square
#0F401C #0F1B40 #400F33 #40340F
split-complementary
#0F401C #340F40 #400F1B
monochromatic
#06190B #06190B #0F401C #1B7232 #26A347

Accessibility & contrast

On white

11.86
#0F401C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F401C
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F401C#FFFFFF#000000##FFFFFF
##0F401C1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A19
Deuteranopia (green-blind)
#3B361F
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f401c;
/* rgb */ color: rgb(15, 64, 28);
/* oklch */ color: oklch(32.9% 0.081 148.6);
Tailwind
colors: {
  custom: {
    50: '#557559',
    500: '#0f401c',
    950: '#000000',
  },
}
SCSS
$custom: #0f401c;
$custom-light: #557559;
$custom-dark: #000000;
JSON
{
  "hex": "#0f401c",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 28
  },
  "hsl": {
    "h": 135.918,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32912,
    "c": 0.0806,
    "h": 148.6
  },
  "luminance": 0.03852
}

Semantic roles & 50–950 ramp

primary
#0F401C
secondary
#7A3067
accent
#43BAE5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0F401C

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

Preview Lab → · Contrast checker → · Palette generator →

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