#0F421E#0F421E

#0F421E is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.6% C 0.082 H 149.3°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#0F421E
RGBrgb(15, 66, 30)
HSLhsl(138, 63%, 16%)
HSVhsv(138, 77%, 26%)
CMYKcmyk(77.3%, 0%, 54.5%, 74.1%)
CIE-LABlab(23.97, -26.02, 17.11)
CIE-LCHlch(23.97, 31.15, 146.68°)
OKLaboklab(33.58% -0.0701 0.0417)
OKLCHoklch(33.58% 0.082 149.3)
XYZxyz(2.3794, 4.0915, 1.8924)
Luminance0.0409 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F421E #420F33
analogous
#19420F #0F421E #0F4237
triadic
#0F421E #1E0F42 #421E0F
tetradic
#0F421E #0F1942 #420F33 #42370F
square
#0F421E #0F1942 #420F33 #42370F
split-complementary
#0F421E #370F42 #420F19
monochromatic
#06190B #06190B #0F421E #1A7435 #26A64B

Accessibility & contrast

On white

11.55
#0F421E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F421E
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F421E#FFFFFF#000000##FFFFFF
##0F421E1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1B
Deuteranopia (green-blind)
#3C3721
Tritanopia (blue-blind)
#00413A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0f421e;
/* rgb */ color: rgb(15, 66, 30);
/* oklch */ color: oklch(33.6% 0.082 149.3);
Tailwind
colors: {
  custom: {
    50: '#55775a',
    500: '#0f421e',
    950: '#000000',
  },
}
SCSS
$custom: #0f421e;
$custom-light: #55775a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f421e",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 30
  },
  "hsl": {
    "h": 137.647,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.3358,
    "c": 0.08156,
    "h": 149.3
  },
  "luminance": 0.04092
}

Semantic roles & 50–950 ramp

primary
#0F421E
secondary
#7C3066
accent
#42B6E6
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0F421E

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

Preview Lab → · Contrast checker → · Palette generator →

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