#0F421B#0F421B

#0F421B is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.5% C 0.085 H 147.6°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#0F421B
RGBrgb(15, 66, 27)
HSLhsl(134, 63%, 16%)
HSVhsv(134, 77%, 26%)
CMYKcmyk(77.3%, 0%, 59.1%, 74.1%)
CIE-LABlab(23.92, -26.57, 18.85)
CIE-LCHlch(23.92, 32.58, 144.65°)
OKLaboklab(33.53% -0.0716 0.0454)
OKLCHoklch(33.53% 0.085 147.6)
XYZxyz(2.3429, 4.0769, 1.7001)
Luminance0.0408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F421B #420F36
analogous
#1C420F #0F421B #0F4234
triadic
#0F421B #1B0F42 #421B0F
tetradic
#0F421B #0F1C42 #420F36 #42340F
square
#0F421B #0F1C42 #420F36 #42340F
split-complementary
#0F421B #340F42 #420F1C
monochromatic
#06190A #06190A #0F421B #1A742F #26A644

Accessibility & contrast

On white

11.57
#0F421B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#0F421B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F421B
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F421B#FFFFFF#000000##FFFFFF
##0F421B1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C18
Deuteranopia (green-blind)
#3D371E
Tritanopia (blue-blind)
#004039
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0f421b;
/* rgb */ color: rgb(15, 66, 27);
/* oklch */ color: oklch(33.5% 0.085 147.6);
Tailwind
colors: {
  custom: {
    50: '#567758',
    500: '#0f421b',
    950: '#000000',
  },
}
SCSS
$custom: #0f421b;
$custom-light: #567758;
$custom-dark: #000000;
JSON
{
  "hex": "#0f421b",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 27
  },
  "hsl": {
    "h": 134.118,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33525,
    "c": 0.08479,
    "h": 147.6
  },
  "luminance": 0.04077
}

Semantic roles & 50–950 ramp

primary
#0F421B
secondary
#7C306B
accent
#42BFE6
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0F421B

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

Preview Lab → · Contrast checker → · Palette generator →

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