#0F420A#0F420A

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

Color values

HEX#0F420A
RGBrgb(15, 66, 10)
HSLhsl(115, 74%, 15%)
HSVhsv(115, 85%, 26%)
CMYKcmyk(77.3%, 0%, 84.8%, 74.1%)
CIE-LABlab(23.74, -28.79, 27.38)
CIE-LCHlch(23.74, 39.73, 136.43°)
OKLaboklab(33.31% -0.0785 0.0616)
OKLCHoklch(33.31% 0.1 141.8)
XYZxyz(2.1999, 4.0197, 0.9470)
Luminance0.0402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F420A #3D0A42
analogous
#2B420A #0F420A #0A4221
triadic
#0F420A #0A0F42 #420A0F
tetradic
#0F420A #0A2B42 #3D0A42 #42210A
square
#0F420A #0A2B42 #3D0A42 #42210A
split-complementary
#0F420A #210A42 #420A2B
monochromatic
#061B04 #061B04 #0F420A #1B7712 #27AC1A

Accessibility & contrast

On white

11.64
#0F420A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#0F420A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F420A
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F420A#FFFFFF#000000##FFFFFF
##0F420A1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B02
Deuteranopia (green-blind)
#3E3710
Tritanopia (blue-blind)
#044037
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0f420a;
/* rgb */ color: rgb(15, 66, 10);
/* oklch */ color: oklch(33.3% 0.100 141.8);
Tailwind
colors: {
  custom: {
    50: '#57774e',
    500: '#0f420a',
    950: '#000000',
  },
}
SCSS
$custom: #0f420a;
$custom-light: #57774e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f420a",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 114.643,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33309,
    "c": 0.09976,
    "h": 141.8
  },
  "luminance": 0.0402
}

Semantic roles & 50–950 ramp

primary
#0F420A
secondary
#77297F
accent
#37F0E0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030901
muted
#787B77

Preview Lab

Preview with #0F420A

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

Preview Lab → · Contrast checker → · Palette generator →

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