#0F472A#0F472A

#0F472A is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.4% C 0.076 H 155.9°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#0F472A
RGBrgb(15, 71, 42)
HSLhsl(149, 65%, 17%)
HSVhsv(149, 79%, 28%)
CMYKcmyk(78.9%, 0%, 40.8%, 72.2%)
CIE-LABlab(26.08, -25.73, 12.42)
CIE-LCHlch(26.08, 28.57, 154.24°)
OKLaboklab(35.39% -0.0696 0.0311)
OKLCHoklch(35.39% 0.076 155.9)
XYZxyz(2.8679, 4.7749, 2.9605)
Luminance0.0478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F472A #470F2C
analogous
#10470F #0F472A #0F4746
triadic
#0F472A #2A0F47 #472A0F
tetradic
#0F472A #0F1047 #470F2C #47460F
square
#0F472A #0F1047 #470F2C #47460F
split-complementary
#0F472A #460F47 #470F10
monochromatic
#05190F #05190F #0F472A #1A7A48 #24AC66

Accessibility & contrast

On white

10.74
#0F472A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#0F472A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F472A
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F472A#FFFFFF#000000##FFFFFF
##0F472A1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474128
Deuteranopia (green-blind)
#403C2C
Tritanopia (blue-blind)
#004640
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0f472a;
/* rgb */ color: rgb(15, 71, 42);
/* oklch */ color: oklch(35.4% 0.076 155.9);
Tailwind
colors: {
  custom: {
    50: '#577b63',
    500: '#0f472a',
    950: '#000000',
  },
}
SCSS
$custom: #0f472a;
$custom-light: #577b63;
$custom-dark: #000000;
JSON
{
  "hex": "#0f472a",
  "rgb": {
    "r": 15,
    "g": 71,
    "b": 42
  },
  "hsl": {
    "h": 148.929,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35395,
    "c": 0.07626,
    "h": 155.9
  },
  "luminance": 0.04775
}

Semantic roles & 50–950 ramp

primary
#0F472A
secondary
#81305A
accent
#4097E8
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#030905
muted
#787B79

Preview Lab

Preview with #0F472A

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

Preview Lab → · Contrast checker → · Palette generator →

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