#0F421C#0F421C

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

Color values

HEX#0F421C
RGBrgb(15, 66, 28)
HSLhsl(135, 63%, 16%)
HSVhsv(135, 77%, 26%)
CMYKcmyk(77.3%, 0%, 57.6%, 74.1%)
CIE-LABlab(23.94, -26.40, 18.27)
CIE-LCHlch(23.94, 32.10, 145.31°)
OKLaboklab(33.54% -0.0711 0.0442)
OKLCHoklch(33.54% 0.084 148.2)
XYZxyz(2.3546, 4.0816, 1.7621)
Luminance0.0408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F421C #420F35
analogous
#1B420F #0F421C #0F4235
triadic
#0F421C #1C0F42 #421C0F
tetradic
#0F421C #0F1B42 #420F35 #42350F
square
#0F421C #0F1B42 #420F35 #42350F
split-complementary
#0F421C #350F42 #420F1B
monochromatic
#06190B #06190B #0F421C #1A7431 #26A646

Accessibility & contrast

On white

11.56
#0F421C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F421C
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F421C#FFFFFF#000000##FFFFFF
##0F421C1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f421c;
/* rgb */ color: rgb(15, 66, 28);
/* oklch */ color: oklch(33.5% 0.084 148.2);
Tailwind
colors: {
  custom: {
    50: '#567759',
    500: '#0f421c',
    950: '#000000',
  },
}
SCSS
$custom: #0f421c;
$custom-light: #567759;
$custom-dark: #000000;
JSON
{
  "hex": "#0f421c",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 28
  },
  "hsl": {
    "h": 135.294,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33543,
    "c": 0.08373,
    "h": 148.2
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

primary
#0F421C
secondary
#7C3069
accent
#42BCE6
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0F421C

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

Preview Lab → · Contrast checker → · Palette generator →

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