#0F421F#0F421F

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

Color values

HEX#0F421F
RGBrgb(15, 66, 31)
HSLhsl(139, 63%, 16%)
HSVhsv(139, 77%, 26%)
CMYKcmyk(77.3%, 0%, 53%, 74.1%)
CIE-LABlab(23.99, -25.83, 16.52)
CIE-LCHlch(23.99, 30.67, 147.40°)
OKLaboklab(33.6% -0.0696 0.0404)
OKLCHoklch(33.6% 0.08 149.9)
XYZxyz(2.3923, 4.0967, 1.9607)
Luminance0.0410 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F421F #420F32
analogous
#18420F #0F421F #0F4238
triadic
#0F421F #1F0F42 #421F0F
tetradic
#0F421F #0F1842 #420F32 #42380F
square
#0F421F #0F1842 #420F32 #42380F
split-complementary
#0F421F #380F42 #420F18
monochromatic
#06190C #06190C #0F421F #1A7436 #26A64E

Accessibility & contrast

On white

11.54
#0F421F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F421F
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F421F#FFFFFF#000000##FFFFFF
##0F421F1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f421f;
/* rgb */ color: rgb(15, 66, 31);
/* oklch */ color: oklch(33.6% 0.080 149.9);
Tailwind
colors: {
  custom: {
    50: '#55775b',
    500: '#0f421f',
    950: '#000000',
  },
}
SCSS
$custom: #0f421f;
$custom-light: #55775b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f421f",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 31
  },
  "hsl": {
    "h": 138.824,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33599,
    "c": 0.08048,
    "h": 149.9
  },
  "luminance": 0.04097
}

Semantic roles & 50–950 ramp

primary
#0F421F
secondary
#7C3065
accent
#42B2E6
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0F421F

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

Preview Lab → · Contrast checker → · Palette generator →

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