#0F4D2F#0F4D2F

#0F4D2F is a dark, moderate teal. Relative luminance 0.056; OKLCH L 37.4% C 0.080 H 157.1°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#0F4D2F
RGBrgb(15, 77, 47)
HSLhsl(151, 67%, 18%)
HSVhsv(151, 81%, 30%)
CMYKcmyk(80.5%, 0%, 39%, 69.8%)
CIE-LABlab(28.42, -27.30, 12.42)
CIE-LCHlch(28.42, 29.99, 155.54°)
OKLaboklab(37.35% -0.0739 0.0312)
OKLCHoklch(37.35% 0.08 157.1)
XYZxyz(3.3636, 5.6142, 3.5951)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D2F #4D0F2D
analogous
#0F4D10 #0F4D2F #0F4C4D
triadic
#0F4D2F #2F0F4D #4D2F0F
tetradic
#0F4D2F #100F4D #4D0F2D #4C4D0F
square
#0F4D2F #100F4D #4D0F2D #4C4D0F
split-complementary
#0F4D2F #4D0F4C #4D100F
monochromatic
#051A10 #051A10 #0F4D2F #19804E #23B36E

Accessibility & contrast

On white

9.89
#0F4D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#0F4D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4D2F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4D2F#FFFFFF#000000##FFFFFF
##0F4D2F1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C462D
Deuteranopia (green-blind)
#454131
Tritanopia (blue-blind)
#004C45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0f4d2f;
/* rgb */ color: rgb(15, 77, 47);
/* oklch */ color: oklch(37.4% 0.080 157.1);
Tailwind
colors: {
  custom: {
    50: '#587f67',
    500: '#0f4d2f',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d2f;
$custom-light: #587f67;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d2f",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 47
  },
  "hsl": {
    "h": 150.968,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37352,
    "c": 0.08022,
    "h": 157.1
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

primary
#0F4D2F
secondary
#87315B
accent
#3E91EA
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0F4D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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