#0F470B#0F470B

#0F470B is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.9% C 0.106 H 142.1°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#0F470B
RGBrgb(15, 71, 11)
HSLhsl(116, 73%, 16%)
HSVhsv(116, 85%, 28%)
CMYKcmyk(78.9%, 0%, 84.5%, 72.2%)
CIE-LABlab(25.66, -30.66, 28.88)
CIE-LCHlch(25.66, 42.12, 136.72°)
OKLaboklab(34.91% -0.0835 0.0649)
OKLCHoklch(34.91% 0.106 142.1)
XYZxyz(2.5105, 4.6319, 1.0783)
Luminance0.0463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F470B #430B47
analogous
#2D470B #0F470B #0B4725
triadic
#0F470B #0B0F47 #470B0F
tetradic
#0F470B #0B2D47 #430B47 #47250B
square
#0F470B #0B2D47 #430B47 #47250B
split-complementary
#0F470B #250B47 #470B2D
monochromatic
#061A04 #061A04 #0F470B #1A7C13 #25B11B

Accessibility & contrast

On white

10.90
#0F470B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#0F470B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F470B
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F470B#FFFFFF#000000##FFFFFF
##0F470B1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F02
Deuteranopia (green-blind)
#423B12
Tritanopia (blue-blind)
#02453C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0f470b;
/* rgb */ color: rgb(15, 71, 11);
/* oklch */ color: oklch(34.9% 0.106 142.1);
Tailwind
colors: {
  custom: {
    50: '#587b4f',
    500: '#0f470b',
    950: '#000000',
  },
}
SCSS
$custom: #0f470b;
$custom-light: #587b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f470b",
  "rgb": {
    "r": 15,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 116,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34907,
    "c": 0.10574,
    "h": 142.1
  },
  "luminance": 0.04632
}

Semantic roles & 50–950 ramp

primary
#0F470B
secondary
#7D2A83
accent
#38F0E4
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0F470B

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

Preview Lab → · Contrast checker → · Palette generator →

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