#0F420F#0F420F

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

Color values

HEX#0F420F
RGBrgb(15, 66, 15)
HSLhsl(120, 63%, 16%)
HSVhsv(120, 77%, 26%)
CMYKcmyk(77.3%, 0%, 77.3%, 74.1%)
CIE-LABlab(23.78, -28.29, 25.18)
CIE-LCHlch(23.78, 37.87, 138.32°)
OKLaboklab(33.36% -0.0768 0.0578)
OKLCHoklch(33.36% 0.096 143)
XYZxyz(2.2313, 4.0322, 1.1126)
Luminance0.0403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F420F #420F42
analogous
#28420F #0F420F #0F4228
triadic
#0F420F #0F0F42 #420F0F
tetradic
#0F420F #0F2842 #420F42 #42280F
square
#0F420F #0F2842 #420F42 #42280F
split-complementary
#0F420F #280F42 #420F28
monochromatic
#061906 #061906 #0F420F #1A741A #26A626

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F420F#FFFFFF#000000##FFFFFF
##0F420F1.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)
#443B08
Deuteranopia (green-blind)
#3E3714
Tritanopia (blue-blind)
#034038
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0f420f;
/* rgb */ color: rgb(15, 66, 15);
/* oklch */ color: oklch(33.4% 0.096 143.0);
Tailwind
colors: {
  custom: {
    50: '#567750',
    500: '#0f420f',
    950: '#000000',
  },
}
SCSS
$custom: #0f420f;
$custom-light: #567750;
$custom-dark: #000000;
JSON
{
  "hex": "#0f420f",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 120,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33357,
    "c": 0.09612,
    "h": 143
  },
  "luminance": 0.04032
}

Semantic roles & 50–950 ramp

primary
#0F420F
secondary
#7C307C
accent
#42E6E6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0F420F

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

Preview Lab → · Contrast checker → · Palette generator →

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