#0F471F#0F471F

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

Color values

HEX#0F471F
RGBrgb(15, 71, 31)
HSLhsl(137, 65%, 17%)
HSVhsv(137, 79%, 28%)
CMYKcmyk(78.9%, 0%, 56.3%, 72.2%)
CIE-LABlab(25.88, -28.01, 18.90)
CIE-LCHlch(25.88, 33.79, 146.00°)
OKLaboklab(35.16% -0.0754 0.0458)
OKLCHoklch(35.16% 0.088 148.7)
XYZxyz(2.6974, 4.7067, 2.0624)
Luminance0.0471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F471F #470F37
analogous
#1B470F #0F471F #0F473B
triadic
#0F471F #1F0F47 #471F0F
tetradic
#0F471F #0F1B47 #470F37 #473B0F
square
#0F471F #0F1B47 #470F37 #473B0F
split-complementary
#0F471F #3B0F47 #470F1B
monochromatic
#05190B #05190B #0F471F #1A7A35 #24AC4B

Accessibility & contrast

On white

10.82
#0F471F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F471F
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F471F#FFFFFF#000000##FFFFFF
##0F471F1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48401C
Deuteranopia (green-blind)
#413B22
Tritanopia (blue-blind)
#00453E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0f471f;
/* rgb */ color: rgb(15, 71, 31);
/* oklch */ color: oklch(35.2% 0.088 148.7);
Tailwind
colors: {
  custom: {
    50: '#577b5b',
    500: '#0f471f',
    950: '#000000',
  },
}
SCSS
$custom: #0f471f;
$custom-light: #577b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f471f",
  "rgb": {
    "r": 15,
    "g": 71,
    "b": 31
  },
  "hsl": {
    "h": 137.143,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35163,
    "c": 0.08822,
    "h": 148.7
  },
  "luminance": 0.04707
}

Semantic roles & 50–950 ramp

primary
#0F471F
secondary
#81306A
accent
#40B8E8
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0F471F

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

Preview Lab → · Contrast checker → · Palette generator →

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