#0F4720#0F4720

#0F4720 is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.2% C 0.087 H 149.3°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#0F4720
RGBrgb(15, 71, 32)
HSLhsl(138, 65%, 17%)
HSVhsv(138, 79%, 28%)
CMYKcmyk(78.9%, 0%, 54.9%, 72.2%)
CIE-LABlab(25.90, -27.83, 18.32)
CIE-LCHlch(25.90, 33.32, 146.64°)
OKLaboklab(35.18% -0.0749 0.0445)
OKLCHoklch(35.18% 0.087 149.3)
XYZxyz(2.7107, 4.7120, 2.1329)
Luminance0.0471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4720 #470F36
analogous
#1A470F #0F4720 #0F473C
triadic
#0F4720 #200F47 #47200F
tetradic
#0F4720 #0F1A47 #470F36 #473C0F
square
#0F4720 #0F1A47 #470F36 #473C0F
split-complementary
#0F4720 #3C0F47 #470F1A
monochromatic
#05190B #05190B #0F4720 #1A7A37 #24AC4E

Accessibility & contrast

On white

10.81
#0F4720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#0F4720 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4720
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4720#FFFFFF#000000##FFFFFF
##0F47201.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48401D
Deuteranopia (green-blind)
#413B23
Tritanopia (blue-blind)
#00463E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0f4720;
/* rgb */ color: rgb(15, 71, 32);
/* oklch */ color: oklch(35.2% 0.087 149.3);
Tailwind
colors: {
  custom: {
    50: '#577b5c',
    500: '#0f4720',
    950: '#000000',
  },
}
SCSS
$custom: #0f4720;
$custom-light: #577b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4720",
  "rgb": {
    "r": 15,
    "g": 71,
    "b": 32
  },
  "hsl": {
    "h": 138.214,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35182,
    "c": 0.08716,
    "h": 149.3
  },
  "luminance": 0.04712
}

Semantic roles & 50–950 ramp

primary
#0F4720
secondary
#813069
accent
#40B5E8
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0F4720

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

Preview Lab → · Contrast checker → · Palette generator →

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