#0F420E#0F420E

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

Color values

HEX#0F420E
RGBrgb(15, 66, 14)
HSLhsl(119, 65%, 16%)
HSVhsv(119, 79%, 26%)
CMYKcmyk(77.3%, 0%, 78.8%, 74.1%)
CIE-LABlab(23.77, -28.40, 25.65)
CIE-LCHlch(23.77, 38.27, 137.91°)
OKLaboklab(33.35% -0.0772 0.0586)
OKLCHoklch(33.35% 0.097 142.8)
XYZxyz(2.2244, 4.0295, 1.0759)
Luminance0.0403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F420E #410E42
analogous
#29420E #0F420E #0E4227
triadic
#0F420E #0E0F42 #420E0F
tetradic
#0F420E #0E2942 #410E42 #42270E
square
#0F420E #0E2942 #410E42 #42270E
split-complementary
#0F420E #270E42 #420E29
monochromatic
#061905 #061905 #0F420E #1A7419 #26A723

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F420E#FFFFFF#000000##FFFFFF
##0F420E1.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)
#443B07
Deuteranopia (green-blind)
#3E3713
Tritanopia (blue-blind)
#034038
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0f420e;
/* rgb */ color: rgb(15, 66, 14);
/* oklch */ color: oklch(33.3% 0.097 142.8);
Tailwind
colors: {
  custom: {
    50: '#567750',
    500: '#0f420e',
    950: '#000000',
  },
}
SCSS
$custom: #0f420e;
$custom-light: #567750;
$custom-dark: #000000;
JSON
{
  "hex": "#0f420e",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 118.846,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.33346,
    "c": 0.09692,
    "h": 142.8
  },
  "luminance": 0.0403
}

Semantic roles & 50–950 ramp

primary
#0F420E
secondary
#7B2F7D
accent
#40E8E5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0F420E

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

Preview Lab → · Contrast checker → · Palette generator →

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