#0F4020#0F4020

#0F4020 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.076 H 151.1°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#0F4020
RGBrgb(15, 64, 32)
HSLhsl(141, 62%, 15%)
HSVhsv(141, 77%, 25%)
CMYKcmyk(76.6%, 0%, 50%, 74.9%)
CIE-LABlab(23.25, -24.73, 14.96)
CIE-LCHlch(23.25, 28.90, 148.83°)
OKLaboklab(32.99% -0.0667 0.0368)
OKLCHoklch(32.99% 0.076 151.1)
XYZxyz(2.2909, 3.8724, 1.9929)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4020 #400F2F
analogous
#17400F #0F4020 #0F4038
triadic
#0F4020 #200F40 #40200F
tetradic
#0F4020 #0F1740 #400F2F #40380F
square
#0F4020 #0F1740 #400F2F #40380F
split-complementary
#0F4020 #380F40 #400F17
monochromatic
#06190C #06190C #0F4020 #1B7239 #26A352

Accessibility & contrast

On white

11.83
#0F4020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#0F4020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4020
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4020#FFFFFF#000000##FFFFFF
##0F40201.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A1E
Deuteranopia (green-blind)
#3A3622
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f4020;
/* rgb */ color: rgb(15, 64, 32);
/* oklch */ color: oklch(33.0% 0.076 151.1);
Tailwind
colors: {
  custom: {
    50: '#55755c',
    500: '#0f4020',
    950: '#000000',
  },
}
SCSS
$custom: #0f4020;
$custom-light: #55755c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4020",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 32
  },
  "hsl": {
    "h": 140.816,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32992,
    "c": 0.07617,
    "h": 151.1
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

primary
#0F4020
secondary
#7A3061
accent
#43ADE5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0F4020

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

Preview Lab → · Contrast checker → · Palette generator →

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