#0F420D#0F420D

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

Color values

HEX#0F420D
RGBrgb(15, 66, 13)
HSLhsl(118, 67%, 15%)
HSVhsv(118, 80%, 26%)
CMYKcmyk(77.3%, 0%, 80.3%, 74.1%)
CIE-LABlab(23.76, -28.50, 26.10)
CIE-LCHlch(23.76, 38.65, 137.52°)
OKLaboklab(33.34% -0.0775 0.0594)
OKLCHoklch(33.34% 0.098 142.5)
XYZxyz(2.2177, 4.0268, 1.0411)
Luminance0.0403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F420D #400D42
analogous
#29420D #0F420D #0D4225
triadic
#0F420D #0D0F42 #420D0F
tetradic
#0F420D #0D2942 #400D42 #42250D
square
#0F420D #0D2942 #400D42 #42250D
split-complementary
#0F420D #250D42 #420D29
monochromatic
#061A05 #061A05 #0F420D #1B7517 #26A821

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F420D#FFFFFF#000000##FFFFFF
##0F420D1.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)
#443B05
Deuteranopia (green-blind)
#3E3712
Tritanopia (blue-blind)
#044038
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0f420d;
/* rgb */ color: rgb(15, 66, 13);
/* oklch */ color: oklch(33.3% 0.098 142.5);
Tailwind
colors: {
  custom: {
    50: '#56774f',
    500: '#0f420d',
    950: '#000000',
  },
}
SCSS
$custom: #0f420d;
$custom-light: #56774f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f420d",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 117.736,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33336,
    "c": 0.09767,
    "h": 142.5
  },
  "luminance": 0.04027
}

Semantic roles & 50–950 ramp

primary
#0F420D
secondary
#7A2D7E
accent
#3EEAE3
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0F420D

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

Preview Lab → · Contrast checker → · Palette generator →

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