#0F4127#0F4127

#0F4127 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.5% C 0.070 H 156.2°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#0F4127
RGBrgb(15, 65, 39)
HSLhsl(149, 63%, 16%)
HSVhsv(149, 77%, 25%)
CMYKcmyk(76.9%, 0%, 40%, 74.5%)
CIE-LABlab(23.77, -23.64, 11.21)
CIE-LCHlch(23.77, 26.16, 154.63°)
OKLaboklab(33.47% -0.064 0.0282)
OKLCHoklch(33.47% 0.07 156.2)
XYZxyz(2.4533, 4.0284, 2.5673)
Luminance0.0403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4127 #410F29
analogous
#10410F #0F4127 #0F4140
triadic
#0F4127 #270F41 #41270F
tetradic
#0F4127 #0F1041 #410F29 #41400F
square
#0F4127 #0F1041 #410F29 #41400F
split-complementary
#0F4127 #400F41 #410F10
monochromatic
#06190F #06190F #0F4127 #1A7345 #26A463

Accessibility & contrast

On white

11.63
#0F4127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#0F4127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4127
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4127#FFFFFF#000000##FFFFFF
##0F41271.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B25
Deuteranopia (green-blind)
#3A3729
Tritanopia (blue-blind)
#00403A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0f4127;
/* rgb */ color: rgb(15, 65, 39);
/* oklch */ color: oklch(33.5% 0.070 156.2);
Tailwind
colors: {
  custom: {
    50: '#557661',
    500: '#0f4127',
    950: '#000000',
  },
}
SCSS
$custom: #0f4127;
$custom-light: #557661;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4127",
  "rgb": {
    "r": 15,
    "g": 65,
    "b": 39
  },
  "hsl": {
    "h": 148.8,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.33466,
    "c": 0.06997,
    "h": 156.2
  },
  "luminance": 0.04029
}

Semantic roles & 50–950 ramp

primary
#0F4127
secondary
#7B3057
accent
#4297E6
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #0F4127

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

Preview Lab → · Contrast checker → · Palette generator →

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