#0F420C#0F420C

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

Color values

HEX#0F420C
RGBrgb(15, 66, 12)
HSLhsl(117, 69%, 15%)
HSVhsv(117, 82%, 26%)
CMYKcmyk(77.3%, 0%, 81.8%, 74.1%)
CIE-LABlab(23.75, -28.60, 26.54)
CIE-LCHlch(23.75, 39.02, 137.14°)
OKLaboklab(33.33% -0.0778 0.0602)
OKLCHoklch(33.33% 0.098 142.3)
XYZxyz(2.2115, 4.0243, 1.0080)
Luminance0.0403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F420C #3F0C42
analogous
#2A420C #0F420C #0C4224
triadic
#0F420C #0C0F42 #420C0F
tetradic
#0F420C #0C2A42 #3F0C42 #42240C
square
#0F420C #0C2A42 #3F0C42 #42240C
split-complementary
#0F420C #240C42 #420C2A
monochromatic
#061A05 #061A05 #0F420C #1B7615 #27AA1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F420C#FFFFFF#000000##FFFFFF
##0F420C1.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)
#443B04
Deuteranopia (green-blind)
#3E3712
Tritanopia (blue-blind)
#044037
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0f420c;
/* rgb */ color: rgb(15, 66, 12);
/* oklch */ color: oklch(33.3% 0.098 142.3);
Tailwind
colors: {
  custom: {
    50: '#57774f',
    500: '#0f420c',
    950: '#000000',
  },
}
SCSS
$custom: #0f420c;
$custom-light: #57774f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f420c",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 116.667,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33327,
    "c": 0.0984,
    "h": 142.3
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#0F420C
secondary
#792C7E
accent
#3CECE2
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0F420C

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

Preview Lab → · Contrast checker → · Palette generator →

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